Files
rust/tests/ui/const-generics
Guillaume Gomez c25ed44cb0 Rollup merge of #158009 - oli-obk:impl-const-impl-Trait, r=fee1-dead
Reject `impl const Trait` since the right syntax is `const impl Trait` now

I also let some smaller rustfmting of ui tests through, as rustfmt immediately formats `impl const Trait` to `const impl Trait`. This is also the reason I expect that this change will break very little nightly users, so we don't even need to add some helpful diagnostic.

r? @fee1-dead
2026-06-18 20:30:26 +02:00
..
2026-06-14 04:02:35 +09:00
2024-09-07 09:23:28 +08:00
2026-03-11 00:43:04 +00:00
2026-03-04 08:06:45 +08:00
2026-06-14 04:02:35 +09:00
2026-06-14 04:02:35 +09:00
2025-12-02 18:25:13 +00:00
2025-07-31 21:25:49 +05:00