]> git.lizzy.rs Git - rust.git/blob - src/test/ui/class-cast-to-trait.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[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(); //~ ERROR no method named `eat` found
5    |        ^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0599`.