rust/compiler/rustc_lint
Trevor Gross fcbf4ac6f9
Rollup merge of #131546 - surechen:fix_129833, r=jieyouxu
Make unused_parens's suggestion considering expr's attributes.

For the expr with attributes,
like `let _ = (#[inline] || println!("Hello!"));`,
the suggestion's span should contains the attributes, or the suggestion will remove them.

fixes #129833
2024-10-11 23:57:46 -04:00
..
src Rollup merge of #131546 - surechen:fix_129833, r=jieyouxu 2024-10-11 23:57:46 -04:00
Cargo.toml non_local_defs: point to Self and Trait to give more context 2024-05-27 23:59:18 +02:00
messages.ftl Reserve guarded string literals (RFC 3593) 2024-10-08 18:21:16 -06:00