1 error: inherent impls cannot be `const`
2 --> $DIR/inherent-impl.rs:7:12
5 | ----- ^ inherent impl for this type
7 | `const` because of this
9 = note: only trait implementations may be annotated with `const`
11 error: inherent impls cannot be `const`
12 --> $DIR/inherent-impl.rs:10:12
15 | ----- ^ inherent impl for this type
17 | `const` because of this
19 = note: only trait implementations may be annotated with `const`
21 error: aborting due to 2 previous errors