fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0390]: only a single inherent implementation marked with `#[lang = "str"]` is allowed for the `str` primitive 2 --> $DIR/single-primitive-inherent-impl.rs:11:1 3 | 4LL | / impl str { 5LL | | 6LL | | } 7 | |_^ 8 | 9help: consider using a trait to implement these methods 10 --> $DIR/single-primitive-inherent-impl.rs:11:1 11 | 12LL | / impl str { 13LL | | 14LL | | } 15 | |_^ 16 17error: aborting due to previous error 18 19For more information about this error, try `rustc --explain E0390`.