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
const_generics.rs
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
mutable_memory_validation.stderr
nested_struct.rs
nested_thread_local.rs
nested_thread_local.stderr
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
static-mut-shared-parens.stderr
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
unsizing-wfcheck-issue-127299.rs
unsizing-wfcheck-issue-127299.stderr