rust/compiler/rustc_resolve/src
bors 6e1f7b538a Auto merge of #121587 - ShoyuVanilla:fix-issue-121267, r=TaKO8Ki
Fix bad span for explicit lifetime suggestions

Fixes #121267

Current explicit lifetime suggestions are not showing correct spans for some lifetimes - e.g. elided lifetime generic parameters;

This should be done correctly regarding elided lifetime kind like the following code

43fdd4916d/compiler/rustc_resolve/src/late/diagnostics.rs (L3015-L3044)
2024-03-21 04:11:09 +00:00
..
diagnostics Implement the unused_macro_rules lint 2022-05-05 19:13:00 +02:00
late Fix bad span for explicit lifetime suggestion 2024-03-21 10:31:04 +09:00
build_reduced_graph.rs Change DefKind::Static to a struct variant 2024-03-12 05:53:46 +00:00
check_unused.rs fixes #121331 2024-03-14 09:54:42 +08:00
def_collector.rs s/mt/mutability/ 2024-03-12 05:53:46 +00:00
diagnostics.rs Manual rustfmt 2024-03-12 05:53:46 +00:00
effective_visibilities.rs Delegation implementation: step 1 2024-01-12 14:11:16 +03:00
errors.rs Remove Default derive from MacroExpectedFound. 2024-03-11 08:52:50 +11:00
ident.rs Add feature gates for f16 and f128 2024-03-14 13:32:54 -04:00
imports.rs fixes #121331 2024-03-14 09:54:42 +08:00
late.rs Auto merge of #121587 - ShoyuVanilla:fix-issue-121267, r=TaKO8Ki 2024-03-21 04:11:09 +00:00
lib.rs fixes #121331 2024-03-14 09:54:42 +08:00
macros.rs delay expand macro bang when there has indeterminate path 2024-03-13 16:11:16 +08:00
rustdoc.rs less symbols interner locks 2024-03-15 10:54:40 +03:00