fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
673 B20 linesraw
1error: trait objects without an explicit `dyn` are deprecated
2  --> $DIR/dyn-angle-brackets.rs:15:10
3   |
4LL |         <fmt::Debug>::fmt(self, f)
5   |          ^^^^^^^^^^
6   |
7   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
8   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
9note: the lint level is defined here
10  --> $DIR/dyn-angle-brackets.rs:4:9
11   |
12LL | #![deny(bare_trait_objects)]
13   |         ^^^^^^^^^^^^^^^^^^
14help: use `dyn`
15   |
16LL |         <dyn fmt::Debug>::fmt(self, f)
17   |          +++
18
19error: aborting due to previous error
20