]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/issue-61963.stderr
Auto merge of #64925 - ehuss:document-json, r=Mark-Simulacrum
[rust.git] / src / test / ui / suggestions / issue-61963.stderr
1 error: trait objects without an explicit `dyn` are deprecated
2   --> $DIR/issue-61963.rs:20:14
3    |
4 LL |     bar: Box<Bar>,
5    |              ^^^ help: use `dyn`: `dyn Bar`
6    |
7 note: lint level defined here
8   --> $DIR/issue-61963.rs:3:9
9    |
10 LL | #![deny(bare_trait_objects)]
11    |         ^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14