mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-26 13:01:27 +03:00
abce9f98d7
Change keyword order for `impl` restrictions Based on rust-lang/rust#155222, this PR reorders keywords in trait definitions to group restrictions with visibility. It changes the order from `pub(...) const unsafe auto impl(...) trait Foo {...}` to `pub(...) impl(...) const unsafe auto trait Foo {...}`. Tracking issue for restrictions: rust-lang/rust#105077 r? @Urgau cc @jhpratt