-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Update Clippy #95772
Update Clippy #95772
Conversation
remove `ref`/`ref mut` check
Taking a Diagnostic by move would break the usual pattern `diag.label(..).emit()`.
Update Clippy r? `@Manishearth`
…earth Changelog for Rust 1.60.0 🦀 (Kudos to everyone who contributed!) As always, I'm impressed by how much stuff happened in just one release. Seriously, kudos to everyone who contributed. changelog: none
Remove `Session::one_time_diagnostic` This is untracked mutable state, which modified the behaviour of queries. It was used for 2 things: some full-blown errors, but mostly for lint declaration notes ("the lint level is defined here" notes). It is replaced by the diagnostic deduplication infra which already exists in the diagnostic emitter. A new diagnostic level `OnceNote` is introduced specifically for lint notes, to deduplicate subdiagnostics. As a drive-by, diagnostic emission takes a `&mut` to allow dropping the `SubDiagnostic`s.
- should not fire if indexing with a constant block - should not fire if indexing within a constant context (const statement or const block)
add #[must_use] to functions of slice and its iterators. Continuation of rust-lang#92853. Tracking issue: rust-lang#89692.
Check if lhs < rhs in modulos in `identity_op` Fixes rust-lang#8508 changelog: [`identity_op`] now checks for modulos, e.g. `1 % 3`
[`map_identity`] checks for needless `map_err` Closes rust-lang#8478 changelog: [`map_identity`] checks for needless `map_err`
@bors r- (fixing CI in a minute) |
Wait, I don't understand this error. The |
update_lints now understands raw strings in declare_clippy_lint descriptions. Co-authored-by: Alex Macleod <[email protected]>
Allow raw lint descriptions update_lints now understands raw strings in declare_clippy_lint descriptions. Supersedes rust-lang#8655 cc `@Alexendoo` thanks for addressing this so quickly. I build a little bit simpler version of your patch. I don't think it really matters what `Literal` we're trying to tokenize, since we assume later, that it is some sort of `str`. changelog: none
@bors r+ |
📌 Commit 1390d014303fd52faad9424a7e801df0ea6c70e9 has been approved by |
This comment has been minimized.
This comment has been minimized.
That didn't fix it.... I'm out of ideas here and already spent 5 hours with syncing and releasing Clippy today. I try to get back to this tomorrow or over the weekend. |
@bors r- |
That should work now @bors r=Manishearth,flip1995 |
📌 Commit b590d5c has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (2d5a21f): comparison url. Summary:
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression Footnotes |
r? @Manishearth