mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 19:23:50 +00:00
10 lines
296 B
Plaintext
10 lines
296 B
Plaintext
error[E0404]: expected trait, found builtin type `str`
|
|
--> $DIR/fully-qualified-syntax-cast.rs:10:18
|
|
|
|
|
LL | <Self as str>::trim(self);
|
|
| ^^^ not a trait
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0404`.
|