mirror of
https://github.com/rust-lang/rust.git
synced 2026-08-03 13:25:49 -04:00
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