error: expected one of `!` or `::`, found `cat` --> $DIR/class-implements-bad-trait.rs:4:7 | LL | class cat : nonexistent { | ^^^ expected one of `!` or `::` here error: aborting due to previous error