1 error[E0390]: only a single inherent implementation marked with `#[lang = "u8"]` is allowed for the `u8` primitive
2 --> $DIR/kinds-of-primitive-impl.rs:1:1
6 LL | | pub const B: u8 = 0;
10 = help: consider using a trait to implement this constant
12 error[E0390]: only a single inherent implementation marked with `#[lang = "str"]` is allowed for the `str` primitive
13 --> $DIR/kinds-of-primitive-impl.rs:6:1
18 LL | | fn bar(self) {}
22 = help: consider using a trait to implement these methods
24 error[E0390]: only a single inherent implementation marked with `#[lang = "char"]` is allowed for the `char` primitive
25 --> $DIR/kinds-of-primitive-impl.rs:12:1
29 LL | | pub const B: u8 = 0;
30 LL | | pub const C: u8 = 0;
32 LL | | fn bar(self) {}
36 = help: consider using a trait to implement these associated items
38 error: aborting due to 3 previous errors
40 For more information about this error, try `rustc --explain E0390`.