Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Enable the shadow_same lint #2329

Closed
wants to merge 1 commit into from

Conversation

larseggert
Copy link
Collaborator

And fix the lint errors in the codebase.

And fix the lint errors in the codebase.
Copy link

github-actions bot commented Jan 9, 2025

Failed Interop Tests

QUIC Interop Runner, client vs. server, differences relative to ef9e4dc.

neqo-latest as client

neqo-latest as server

All results

Succeeded Interop Tests

QUIC Interop Runner, client vs. server

neqo-latest as client

neqo-latest as server

Unsupported Interop Tests

QUIC Interop Runner, client vs. server

neqo-latest as client

neqo-latest as server

Copy link
Collaborator

@mxinden mxinden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I consider the following a helpful pattern:

let mut x = todo!();
// mutate x

// x won't be mutated from now on. Make it immutable.
let x = x;

Why explicitly disallow this?

@larseggert
Copy link
Collaborator Author

I have not used that pattern. If you find it useful, let's not merge this.

@larseggert larseggert closed this Jan 9, 2025
@mxinden
Copy link
Collaborator

mxinden commented Jan 9, 2025

We have been using it e.g. here https://github.com/mozilla/mtu/pull/4/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants