Files
rust/tests/ui/parser
Jonathan Brouwer 57373cd158 Rollup merge of #163454 - Tehforsch:fix-lifetime-preceding-type-in-generics, r=JonathanBrouwer
Improve suggestion for lifetime preceding type in generics

Closes rust-lang/rust#59325

Specifically, this fixes cases like the 2nd example in the issue, where a lifetime precedes a type in generic args:
`Foo<'static T1>` and suggests either adding a reference, i.e. `Foo<&'static T1>` or a comma, i.e. `Foo<'static, T1>`.

In a case like `Foo<'static mut T1>`, only `Foo<&'static mut T1>` is suggested.
2026-10-03 12:22:28 +02:00
..
…
…
2026-09-25 13:04:03 +02:00
2026-09-21 08:57:52 +01:00
2026-09-21 08:57:52 +01:00