error: inherent impls cannot be `const` --> $DIR/inherent-impl.rs:9:1 | LL | impl const S {} | ^^^^^-----^^^^^ | | | `const` because of this | = note: only trait implementations may be annotated with `const` error: inherent impls cannot be `const` --> $DIR/inherent-impl.rs:13:1 | LL | impl const T {} | ^^^^^-----^^^^^ | | | `const` because of this | = note: only trait implementations may be annotated with `const` error: const trait impls are not yet implemented --> $DIR/inherent-impl.rs:9:1 | LL | impl const S {} | ^^^^^-----^^^^^ | | | const because of this error: const trait impls are not yet implemented --> $DIR/inherent-impl.rs:13:1 | LL | impl const T {} | ^^^^^-----^^^^^ | | | const because of this error: aborting due to 4 previous errors