]> git.lizzy.rs Git - rust.git/blob - src/test/ui/class-cast-to-trait.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[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:63: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`.