diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2024-09-25 10:38:40 +0200 |
|---|---|---|
| committer | León Orell Valerian Liehr <me@fmease.dev> | 2024-09-25 13:26:48 +0200 |
| commit | 01a063f9df39fd7442874726afd8c9583987da44 (patch) | |
| tree | eebc732a8a6ca324b6d058b89a02319873533e4c /tests/ui/errors | |
| parent | f5cd2c5888011d4d80311e5b771c6da507d860dd (diff) | |
| download | rust-01a063f9df39fd7442874726afd8c9583987da44.tar.gz rust-01a063f9df39fd7442874726afd8c9583987da44.zip | |
Compiler: Rename "object safe" to "dyn compatible"
Diffstat (limited to 'tests/ui/errors')
| -rw-r--r-- | tests/ui/errors/dynless-turbofish-e0191-issue-91997.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/errors/dynless-turbofish-e0191-issue-91997.stderr b/tests/ui/errors/dynless-turbofish-e0191-issue-91997.stderr index 68d8adc5a40..24f00cfa6be 100644 --- a/tests/ui/errors/dynless-turbofish-e0191-issue-91997.stderr +++ b/tests/ui/errors/dynless-turbofish-e0191-issue-91997.stderr @@ -7,7 +7,7 @@ LL | let _ = MyIterator::next; = warning: this is accepted in the current edition (Rust 2015) 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: `#[warn(bare_trait_objects)]` on by default -help: if this is an object-safe trait, use `dyn` +help: if this is a dyn-compatible trait, use `dyn` | LL | let _ = <dyn MyIterator>::next; | ++++ + |
