rust/tests/ui/traits/test.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
270 B
Plaintext
Raw Normal View History

2018-08-08 12:28:26 +00:00
error[E0404]: expected trait, found builtin type `isize`
2021-02-08 22:15:45 +00:00
--> $DIR/test.rs:4:6
2018-08-08 12:28:26 +00:00
|
2019-03-09 12:03:44 +00:00
LL | impl isize for usize { fn foo(&self) {} }
2018-08-08 12:28:26 +00:00
| ^^^^^ not a trait
error: aborting due to 1 previous error
2018-08-08 12:28:26 +00:00
For more information about this error, try `rustc --explain E0404`.