rust/tests/ui/statics
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
..
auxiliary
check-immutable-mut-slices.rs
check-immutable-mut-slices.stderr
check-recursion-foreign.rs
check-values-constraints.rs
check-values-constraints.stderr Deny calls to non-#[const_trait] methods in MIR constck 2024-10-26 11:35:56 +08:00
const_generics.rs Stabilize const_refs_to_static 2024-09-26 13:21:15 +02:00
issue-14227.rs
issue-14227.stderr
issue-15261.rs
issue-15261.stderr
issue-17233.rs
issue-17718-static-sync.rs
issue-17718-static-sync.stderr
issue-17718-static-unsafe-interior.rs
issue-44373-2.rs
issue-44373.rs
issue-44373.stderr
issue-91050-1.rs
issue-91050-2.rs
missing_lifetime.rs
missing_lifetime.stderr
mutable_memory_validation.rs Stabilize const_refs_to_static 2024-09-26 13:21:15 +02:00
mutable_memory_validation.stderr Stabilize const_refs_to_static 2024-09-26 13:21:15 +02:00
nested_struct.rs
nested_thread_local.rs also stabilize const_refs_to_cell 2024-09-15 10:20:47 +02:00
nested_thread_local.stderr also stabilize const_refs_to_cell 2024-09-15 10:20:47 +02:00
nested-allocations-dont-inherit-codegen-attrs.rs
recursive_interior_mut.rs
static-fn-inline-xc.rs
static-fn-trait-xc.rs
static-function-pointer-xc.rs
static-function-pointer.rs
static-impl.rs
static-impl.stderr
static-method-in-trait-with-tps-intracrate.rs
static-method-xcrate.rs
static-methods-in-traits2.rs
static-methods-in-traits.rs
static-mut-shared-parens.rs Fix #131977 parens mangled in shared mut static lint suggestion 2024-10-24 03:34:37 +00:00
static-mut-shared-parens.stderr Fix #131977 parens mangled in shared mut static lint suggestion 2024-10-24 03:34:37 +00:00
static-mut-xc.rs
static-mut-xc.stderr
static-promotion.rs
static-recursive.rs
static-recursive.stderr
uninhabited-static.rs
uninhabited-static.stderr
unsized_type2.rs
unsized_type2.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
unsizing-wfcheck-issue-127299.rs
unsizing-wfcheck-issue-127299.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00