Skip to content

Commit

Permalink
Update ui test suite to nightly-2022-09-14
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Sep 14, 2022
1 parent 05dc92a commit 0dc4f28
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/ui/bare-trait-object.stderr
Expand Up @@ -13,9 +13,8 @@ note: the lint level is defined here
= 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 Send + Sync {
11 + impl Trait for dyn Send + Sync {
|
11 | impl Trait for dyn Send + Sync {
| +++
help: alternatively use a blanket implementation to implement `Trait` for all types that also implement `Send + Sync`
|
11 | impl<T: Send + Sync> Trait for T {
Expand Down

0 comments on commit 0dc4f28

Please sign in to comment.