File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ error: trait objects without an explicit `dyn` are deprecated
4411 | impl Trait for Send + Sync {
55 | ^^^^^^^^^^^
66 |
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>
79note: the lint level is defined here
810 --> tests/ui/bare-trait-object.rs:1:9
911 |
10121 | #![deny(bare_trait_objects)]
1113 | ^^^^^^^^^^^^^^^^^^
12- = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
13- = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
1414help: use `dyn`
1515 |
161611 | impl Trait for dyn Send + Sync {
You can’t perform that action at this time.
0 commit comments