Skip to content

Commit 3b9e32e

Browse files
committed
Update ui test suite to nightly-2022-10-02
1 parent 74cb327 commit 3b9e32e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ui/bare-trait-object.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ error: trait objects without an explicit `dyn` are deprecated
44
11 | 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>
79
note: the lint level is defined here
810
--> tests/ui/bare-trait-object.rs:1:9
911
|
1012
1 | #![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>
1414
help: use `dyn`
1515
|
1616
11 | impl Trait for dyn Send + Sync {

0 commit comments

Comments
 (0)