rust/src/test/ui/single-primitive-inherent-impl.stderr
2020-12-06 21:30:30 +00:00

14 lines
362 B
Plaintext

error[E0390]: only a single inherent implementation marked with `#[lang = "str"]` is allowed for the `str` primitive
--> $DIR/single-primitive-inherent-impl.rs:11:1
|
LL | / impl str {
LL | |
LL | | }
| |_^
|
= help: consider using a trait
error: aborting due to previous error
For more information about this error, try `rustc --explain E0390`.