rust/compiler/rustc_lint/src
Jubilee 6c0e8ef86a
Rollup merge of #132095 - gechelberger:fix-131977, r=wesleywiser
Fix #131977 parens mangled in shared mut static lint suggestion

Resolves #131977 for static mut references after discussion with
Esteban & Jieyou on [t-compiler/help](https://rust-lang.zulipchat.com/#narrow/channel/182449-t-compiler.2Fhelp/topic/linting.20with.20parens.20in.20the.20HIR).

This doesn't do anything to change the underlying issue if there are other expressions that generate lint suggestions which need to be applied within parentheses.
2024-11-07 18:48:21 -08:00
..
context
nonstandard_style
types compiler: Depend on rustc_abi in rustc_lint 2024-10-27 23:59:31 -07:00
async_closures.rs
async_fn_in_trait.rs
builtin.rs Rollup merge of #132246 - workingjubilee:campaign-on-irform, r=compiler-errors 2024-10-30 14:01:37 -07:00
context.rs TypingMode 🤔 2024-10-29 17:01:24 +01:00
dangling.rs New lint: dangling_pointers_from_temporaries 2024-10-28 14:16:05 +03:00
deref_into_dyn_supertrait.rs
drop_forget_useless.rs
early.rs Clean up some comments on lint implementation 2024-10-27 04:30:51 -07:00
enum_intrinsics_non_enums.rs
errors.rs
expect.rs
for_loops_over_fallibles.rs TypingMode 🤔 2024-10-29 17:01:24 +01:00
foreign_modules.rs compiler: rustc_abi::Abi => BackendRepr 2024-10-29 14:56:00 -07:00
hidden_unicode_codepoints.rs
if_let_rescope.rs
impl_trait_overcaptures.rs ty::BrK -> ty::BoundRegionKind::K 2024-11-04 04:45:52 +00:00
internal.rs Auto merge of #132190 - matthiaskrgr:rollup-rsocfiz, r=matthiaskrgr 2024-10-26 19:00:57 +00:00
invalid_from_utf8.rs
late.rs Do not filter empty passes & Make CTFE Clippy into lintless pass 2024-11-05 15:27:09 +01:00
let_underscore.rs
levels.rs Auto merge of #125116 - blyxyas:ignore-allowed-lints-final, r=cjgillot 2024-10-26 16:37:43 +00:00
lib.rs Auto merge of #128985 - GrigorenkoPV:instantly-dangling-pointer, r=Urgau 2024-10-29 00:24:07 +00:00
lints.rs Improve the missing_abi lint. 2024-10-31 10:55:45 +01:00
macro_expr_fragment_specifier_2024_migration.rs
map_unit_fn.rs
multiple_supertrait_upcastable.rs
non_ascii_idents.rs
non_fmt_panic.rs TypingMode 🤔 2024-10-29 17:01:24 +01:00
non_local_def.rs Also treat impl definition parent as transparent regarding modules 2024-11-01 16:07:02 +01:00
nonstandard_style.rs ty::KContainer -> ty::AssocItemContainer::K 2024-11-04 04:45:52 +00:00
noop_method_call.rs
opaque_hidden_inferred_bound.rs Remap impl-trait lifetimes on HIR instead of AST lowering. 2024-10-30 16:18:50 +00:00
pass_by_value.rs
passes.rs Auto merge of #125116 - blyxyas:ignore-allowed-lints-final, r=cjgillot 2024-10-26 16:37:43 +00:00
precedence.rs
ptr_nulls.rs
redundant_semicolon.rs
reference_casting.rs
shadowed_into_iter.rs
static_mut_refs.rs
tail_expr_drop_order.rs
tests.rs
traits.rs
types.rs compiler: Directly use rustc_abi in lints 2024-11-03 13:38:47 -08:00
unit_bindings.rs
unqualified_local_imports.rs
unused.rs Remove region from adjustments 2024-10-29 01:34:06 +00:00