rust/compiler/rustc_resolve/src
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
..
late Rollup merge of #151530 - reddevilmidzy:e0106, r=fee1-dead 2026-02-18 17:29:45 +11:00
rustdoc Overhaul filename handling for cross-compiler consistency 2025-12-12 07:33:09 +01:00
build_reduced_graph.rs Unify wording of resolve error 2026-02-17 16:51:44 +00:00
check_unused.rs resolve: Replace Macros20NormalizedIdent with IdentKey 2026-01-27 18:11:52 +03:00
def_collector.rs separate ast item for const block items 2026-01-21 18:26:57 +03:00
diagnostics.rs Make suggestion verbose and fix incorrect suggestion usage 2026-02-17 16:51:53 +00:00
effective_visibilities.rs resolve: Mark items under ambigous imports as exported 2026-01-27 16:24:53 +03:00
errors.rs Rename inline_fluent! to msg! 2026-02-14 13:47:52 +01:00
ident.rs Unify wording of resolve error 2026-02-17 16:51:44 +00:00
imports.rs Unify wording of resolve error 2026-02-17 16:51:44 +00:00
late.rs Unify wording of resolve error 2026-02-17 16:51:44 +00:00
lib.rs Unify wording of resolve error 2026-02-17 16:51:44 +00:00
macros.rs Unify wording of resolve error 2026-02-17 16:51:44 +00:00
rustdoc.rs render intra-doc links in the #[deprectated] note 2026-01-08 11:35:33 +01:00