]> git.lizzy.rs Git - rust.git/blob - tests/ui/class-cast-to-trait.stderr
Optimize `TyKind::eq`.
[rust.git] / tests / ui / class-cast-to-trait.stderr
1 error[E0599]: no method named `eat` found for struct `Box<dyn Noisy>` in the current scope
2   --> $DIR/class-cast-to-trait.rs:53:8
3    |
4 LL |   nyan.eat();
5    |        ^^^ method not found in `Box<dyn Noisy>`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0599`.