]> git.proxmox.com Git - rustc.git/blob - src/test/ui/single-primitive-inherent-impl.stderr
New upstream version 1.49.0+dfsg1
[rustc.git] / src / test / ui / single-primitive-inherent-impl.stderr
1 error[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 |
4 LL | / impl str {
5 LL | |
6 LL | | }
7 | |_^
8 |
9 help: consider using a trait to implement these methods
10 --> $DIR/single-primitive-inherent-impl.rs:11:1
11 |
12 LL | / impl str {
13 LL | |
14 LL | | }
15 | |_^
16
17 error: aborting due to previous error
18
19 For more information about this error, try `rustc --explain E0390`.