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-07-13 10:54:53 +02:00
2026-07-13 10:54:53 +02:00
fix
2026-07-03 15:45:29 +08:00
fix
2026-07-03 15:45:29 +08:00
2026-06-28 16:10:41 +02:00
2026-07-13 10:54:53 +02:00
fix
2026-06-02 23:00:47 +08:00
fix
2026-06-02 23:00:47 +08:00
2026-09-21 08:57:52 +01:00
2026-09-21 08:57:52 +01:00
fix
2026-06-02 23:00:47 +08:00
fix
2026-06-02 23:00:47 +08:00
2026-07-13 10:54:53 +02:00
2026-02-22 20:20:33 +01:00
2026-08-10 10:05:45 +02:00
2026-08-10 10:05:45 +02:00
2026-07-09 23:34:43 +02:00
2026-07-09 23:34:43 +02:00
2026-07-13 10:54:53 +02:00
2026-07-13 10:54:53 +02:00