rust/compiler/rustc_resolve
Stuart Cook a544b5df98
Rollup merge of #151530 - reddevilmidzy:e0106, r=fee1-dead
Fix invalid `mut T` suggestion for `&mut T` in missing lifetime error

close: rust-lang/rust#150077

When suggesting to return an owned value instead of a borrowed one, the diagnostic was only removing `&` instead of `&mut `, resulting in invalid syntax like `mut T`. This PR fixes the span calculation to properly cover the entire `&mut ` prefix.
2026-02-18 17:29:45 +11:00
..
src Rollup merge of #151530 - reddevilmidzy:e0106, r=fee1-dead 2026-02-18 17:29:45 +11:00
Cargo.toml Remove Resolver::create_stable_hashing_context. 2026-02-06 09:18:18 +11:00