]> git.proxmox.com Git - rustc.git/blob - src/test/ui/editions/dyn-trait-sugg-2021.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / editions / dyn-trait-sugg-2021.stderr
1 error[E0783]: trait objects without an explicit `dyn` are deprecated
2 --> $DIR/dyn-trait-sugg-2021.rs:10:5
3 |
4 LL | Foo::hi(123);
5 | ^^^ help: use `dyn`: `<dyn Foo>`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0783`.