blob: 5290e3594d553d8bbcbfa502b86456dccdcd6078 (
plain)
1
2
3
4
5
6
7
8
|
error: expected one of `!` or `::`, found `cat`
--> $DIR/class-implements-bad-trait.rs:2:7
|
LL | class cat : nonexistent {
| ^^^ expected one of `!` or `::`
error: aborting due to 1 previous error
|