summary refs log tree commit diff
path: root/src/test/ui/single-primitive-inherent-impl.stderr
blob: d357afa3b3841797e934dd172d92a343b02b61d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 to implement these methods
  --> $DIR/single-primitive-inherent-impl.rs:11:1
   |
LL | / impl str {
LL | |
LL | | }
   | |_^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0390`.