]> git.lizzy.rs Git - rust.git/blob - src/test/ui/class-cast-to-trait.stderr
4cab52e3e974ca40075bbd727de647df0454ee29
[rust.git] / src / test / ui / class-cast-to-trait.stderr
1 error[E0599]: no method named `eat` found for type `std::boxed::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 `std::boxed::Box<dyn Noisy>`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0599`.