Skip to content

Commit

Permalink
Update ui test suite to nightly-2022-10-02
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Oct 2, 2022
1 parent 74cb327 commit 3b9e32e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ui/bare-trait-object.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ error: trait objects without an explicit `dyn` are deprecated
11 | impl Trait for Send + Sync {
| ^^^^^^^^^^^
|
= warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
note: the lint level is defined here
--> tests/ui/bare-trait-object.rs:1:9
|
1 | #![deny(bare_trait_objects)]
| ^^^^^^^^^^^^^^^^^^
= warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
help: use `dyn`
|
11 | impl Trait for dyn Send + Sync {
Expand Down

0 comments on commit 3b9e32e

Please sign in to comment.