rust/src/test/ui/traits/trait-test.stderr
Vadim Petrochenkov fa72a81bea Update tests
2019-03-11 23:10:26 +03:00

10 lines
274 B
Plaintext

error[E0404]: expected trait, found builtin type `isize`
--> $DIR/trait-test.rs:4:6
|
LL | impl isize for usize { fn foo(&self) {} }
| ^^^^^ not a trait
error: aborting due to previous error
For more information about this error, try `rustc --explain E0404`.