fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
348 B14 linesraw
1error: trait objects without an explicit `dyn` are deprecated
2  --> $DIR/issue-61963.rs:20:14
3   |
4LL |     bar: Box<Bar>,
5   |              ^^^ help: use `dyn`: `dyn Bar`
6   |
7note: lint level defined here
8  --> $DIR/issue-61963.rs:3:9
9   |
10LL | #![deny(bare_trait_objects)]
11   |         ^^^^^^^^^^^^^^^^^^
12
13error: aborting due to previous error
14