]> git.lizzy.rs Git - rust.git/blob - src/test/ui/traits/test.stderr
:arrow_up: rust-analyzer
[rust.git] / src / test / ui / traits / test.stderr
1 error[E0404]: expected trait, found builtin type `isize`
2   --> $DIR/test.rs:4:6
3    |
4 LL | impl isize for usize { fn foo(&self) {} }
5    |      ^^^^^ not a trait
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0404`.