| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-09-27 | On implicit `Sized` bound on fn argument, point at type instead of pattern | Esteban Küber | -2/+2 | |
| Instead of ``` error[E0277]: the size for values of type `(dyn ThriftService<(), AssocType = _> + 'static)` cannot be known at compilation time --> $DIR/issue-59324.rs:23:20 | LL | fn with_factory<H>(factory: dyn ThriftService<()>) {} | ^^^^^^^ doesn't have a size known at compile-time ``` output ``` error[E0277]: the size for values of type `(dyn ThriftService<(), AssocType = _> + 'static)` cannot be known at compilation time --> $DIR/issue-59324.rs:23:29 | LL | fn with_factory<H>(factory: dyn ThriftService<()>) {} | ^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ``` | ||||
| 2024-09-25 | Remove the `control_flow_enum` feature from clippy | Scott McMurray | -2/+0 | |
| 2024-09-25 | Auto merge of #130778 - flip1995:clippy-subtree-update, r=Manishearth | bors | -2572/+7430 | |
| Clippy subtree update r? `@Manishearth` Really delayed sync (2 1/2 weeks), because of a `debug_assertion` we hit, and I didn't have the time to investigate earlier. It would be nice to merge this PR with some priority, as it includes a lot of formatting changes due to the rustfmt bump. Include Cargo.lock update due to Clippy version bump and ui_test bump in Clippy. | ||||
| 2024-09-24 | Rollup merge of #130764 - compiler-errors:inherent, r=estebank | Trevor Gross | -14/+5 | |
| Separate collection of crate-local inherent impls from error tracking #119895 changed the return type of the `crate_inherent_impls` query from `CrateInherentImpls` to `Result<CrateInherentImpls, ErrorGuaranteed>` to avoid needing to use the non-parallel-friendly `track_errors()` to track if an error was reporting from within the query... This was mostly fine until #121113, which stopped halting compilation when we hit an `Err(ErrorGuaranteed)` in the `crate_inherent_impls` query. Thus we proceed onwards to typeck, and since a return type of `Result<CrateInherentImpls, ErrorGuaranteed>` means that the query can *either* return one of "the list inherent impls" or "error has been reported", later on when we want to assemble method or associated item candidates for inherent impls, we were just treating any `Err(ErrorGuaranteed)` return value as if Rust had no inherent impls defined anywhere at all! This leads to basically every inherent method call failing with an error, lol, which was reported in #127798. This PR changes the `crate_inherent_impls` query to return `(CrateInherentImpls, Result<(), ErrorGuaranteed>)`, i.e. returning the inherent impls collected *and* whether an error was reported in the query itself. It firewalls the latter part of that query into a new `crate_inherent_impls_validity_check` just for the `ensure()` call. This fixes #127798. | ||||
| 2024-09-24 | be even more precise about "cast" vs "coercion" | Lukas Markeffsky | -4/+4 | |
| 2024-09-24 | unify dyn* coercions with other pointer coercions | Lukas Markeffsky | -1/+1 | |
| 2024-09-24 | Remove unused import from Clippy versions.py file | Philipp Krones | -1/+0 | |
| 2024-09-24 | Fix tools | Michael Goulet | -14/+5 | |
| 2024-09-24 | Hotfix: remove profile from clippy Cargo.toml | Philipp Krones | -7/+0 | |
| 2024-09-24 | Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into ↵ | Philipp Krones | -2571/+7437 | |
| clippy-subtree-update | ||||
| 2024-09-21 | Fix clippy | Ben Kimock | -1/+1 | |
| 2024-09-20 | Auto merge of #124895 - obeis:static-mut-hidden-ref, r=compiler-errors | bors | -92/+122 | |
| Disallow hidden references to mutable static Closes #123060 Tracking: - https://github.com/rust-lang/rust/issues/123758 | ||||
| 2024-09-20 | [Clippy] Remove final std paths for diagnostic item | GnomedDev | -25/+18 | |
| 2024-09-19 | Categorise paths in `clippy_utils::paths` | GnomedDev | -13/+20 | |
| 2024-09-19 | [Clippy] Swap `open_options` to use diagnostic items instead of paths | GnomedDev | -13/+12 | |
| 2024-09-19 | [Clippy] Swap `iter_over_hash_type` to use diagnostic items instead of paths | GnomedDev | -32/+14 | |
| 2024-09-19 | [Clippy] Swap `non_octal_unix_permissions` to use diagnostic item instead of ↵ | GnomedDev | -4/+1 | |
| path | ||||
| 2024-09-19 | [Clippy] Swap `unnecessary_owned_empty_strings` to use diagnostic item ↵ | GnomedDev | -3/+1 | |
| instead of path | ||||
| 2024-09-19 | [Clippy] Swap `manual_strip` to use diagnostic items instead of paths | GnomedDev | -8/+5 | |
| 2024-09-19 | [Clippy] Swap `unnecessary_to_owned` to use diagnostic item instead of path | GnomedDev | -3/+2 | |
| 2024-09-19 | [Clippy] Swap `instant_subtraction` to use diagnostic item instead of path | GnomedDev | -2/+1 | |
| 2024-09-19 | [Clippy] Swap `waker_clone_wake` to use diagnostic item instead of path | GnomedDev | -3/+2 | |
| 2024-09-19 | [Clippy] Swap `filter_map_bool_then` to use diagnostic item instead of path | GnomedDev | -4/+2 | |
| 2024-09-19 | [Clippy] Swap `manual_while_let_some` to use diagnostic items instead of paths | GnomedDev | -11/+7 | |
| 2024-09-19 | [Clippy] Swap `repeat_vec_with_capacity` to use diagnostic item instead of path | GnomedDev | -7/+6 | |
| 2024-09-19 | [Clippy] Swap `VecArgs::hir` to use diagnostic items instead of paths | GnomedDev | -8/+5 | |
| 2024-09-19 | [Clippy] Swap `single_char_add_str`/`format_push_string` to use diagnostic ↵ | GnomedDev | -7/+5 | |
| items instead of paths | ||||
| 2024-09-19 | [Clippy] Swap `manual_main_separator_str` to use diagnostic item instead of path | GnomedDev | -3/+2 | |
| 2024-09-19 | [Clippy] Swap `redundant_clone` to use diagnostic items instead of paths | GnomedDev | -5/+3 | |
| 2024-09-19 | [Clippy] Swap `float_equality_without_abs` to use diagnostic items instead ↵ | GnomedDev | -5/+3 | |
| of paths | ||||
| 2024-09-19 | [Clippy] Swap `option_as_ref_deref` to use diagnostic items instead of paths | GnomedDev | -19/+12 | |
| 2024-09-19 | [Clippy] Swap `lines_filter_map_ok` to use a diagnostic item instead of path | GnomedDev | -3/+2 | |
| 2024-09-19 | [Clippy] Swap `map_entry` to use diagnostic items instead of paths | GnomedDev | -10/+6 | |
| 2024-09-18 | [Clippy] Swap `manual_retain` to use diagnostic items instead of paths | GnomedDev | -26/+17 | |
| 2024-09-15 | Rollup merge of #130293 - gurry:130142-lint-level-issue, r=cjgillot | Matthias Krüger | -1/+9 | |
| Fix lint levels not getting overridden by attrs on `Stmt` nodes Fixes #130142. See comments on the issue for context. r? `@cjgillot` | ||||
| 2024-09-15 | stabilize const_mut_refs | Ralf Jung | -31/+29 | |
| 2024-09-14 | stabilize `const_extern_fn` | Folkert de Vries | -122/+111 | |
| 2024-09-14 | Fix lint levels not getting overridden by attrs on `Stmt` nodes | Gurinder Singh | -1/+9 | |
| 2024-09-13 | handle transmutes in const context if msrvs::CONST_FLOAT_BITS_CONV | Trevor Spiteri | -9/+16 | |
| 2024-09-13 | Revert "stabilize const_float_bits_conv" for src/tools/clippy/clippy_lints | Trevor Spiteri | -5/+13 | |
| This reverts the part of commit 19908ff7a37a9a431399bb6f2868efc22820f2b6 in subdirectory src/tools/clippy/clippy_lints. | ||||
| 2024-09-13 | Update tests for hidden references to mutable static | Obei Sideg | -92/+122 | |
| 2024-09-11 | Remove unused functions from ast CoroutineKind | Michael Goulet | -1/+11 | |
| 2024-09-07 | Rollup merge of #129555 - RalfJung:const_float_bits_conv, r=dtolnay | Matthias Krüger | -46/+186 | |
| stabilize const_float_bits_conv This stabilizes `const_float_bits_conv`, and thus fixes https://github.com/rust-lang/rust/issues/72447. With https://github.com/rust-lang/rust/pull/128596 having landed, this is entirely a libs-only question now. ```rust impl f32 { pub const fn to_bits(self) -> u32; pub const fn from_bits(v: u32) -> Self; pub const fn to_be_bytes(self) -> [u8; 4]; pub const fn to_le_bytes(self) -> [u8; 4] pub const fn to_ne_bytes(self) -> [u8; 4]; pub const fn from_be_bytes(bytes: [u8; 4]) -> Self; pub const fn from_le_bytes(bytes: [u8; 4]) -> Self; pub const fn from_ne_bytes(bytes: [u8; 4]) -> Self; } impl f64 { pub const fn to_bits(self) -> u64; pub const fn from_bits(v: u64) -> Self; pub const fn to_be_bytes(self) -> [u8; 8]; pub const fn to_le_bytes(self) -> [u8; 8] pub const fn to_ne_bytes(self) -> [u8; 8]; pub const fn from_be_bytes(bytes: [u8; 8]) -> Self; pub const fn from_le_bytes(bytes: [u8; 8]) -> Self; pub const fn from_ne_bytes(bytes: [u8; 8]) -> Self; } ```` Cc `@rust-lang/wg-const-eval` `@rust-lang/libs-api` | ||||
| 2024-09-06 | Make `Ty::boxed_ty` return an `Option` | Pavel Grigorenko | -13/+11 | |
| 2024-09-01 | stabilize const_float_bits_conv | Ralf Jung | -46/+186 | |
| 2024-09-01 | Rollup merge of #129207 - GrigorenkoPV:elided-is-named, r=cjgillot | Matthias Krüger | -2/+22 | |
| Lint that warns when an elided lifetime ends up being a named lifetime As suggested in https://github.com/rust-lang/rust/issues/48686#issuecomment-1817334575 Fixes #48686 | ||||
| 2024-08-31 | elided_named_lifetimes: bless & add tests | Pavel Grigorenko | -2/+22 | |
| 2024-08-29 | Stop using ty::GenericPredicates for non-predicates_of queries | Michael Goulet | -4/+3 | |
| 2024-08-25 | Auto merge of #129531 - Jarcho:clippyup, r=Manishearth | bors | -2961/+3044 | |
| Clippy subtree update r? `@Manishearth` | ||||
| 2024-08-24 | Merge commit '0f8eabd6231366bfc1bb1464601297c2d48f8f68' into clippyup | Jason Newcomb | -2961/+3044 | |
