fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error: inherent impls cannot be `const` 2 --> $DIR/inherent-impl.rs:9:12 3 | 4LL | impl const S {} 5 | ----- ^ inherent impl for this type 6 | | 7 | `const` because of this 8 | 9 = note: only trait implementations may be annotated with `const` 10 11error: inherent impls cannot be `const` 12 --> $DIR/inherent-impl.rs:12:12 13 | 14LL | impl const T {} 15 | ----- ^ inherent impl for this type 16 | | 17 | `const` because of this 18 | 19 = note: only trait implementations may be annotated with `const` 20 21error: aborting due to 2 previous errors 22