diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2021-08-09 17:45:01 +0200 |
|---|---|---|
| committer | Mara Bos <m-ou.se@m-ou.se> | 2021-08-09 17:45:01 +0200 |
| commit | 260f9b9e91c36e87bc21e3e88016cbbd5282ee9f (patch) | |
| tree | e37b0547c2da4a98e287e03bd0929cae25920353 /src/test/ui/parser/trait-object-trait-parens.stderr | |
| parent | eaf6f463599df1f18da94a6965e216ea15795417 (diff) | |
| download | rust-260f9b9e91c36e87bc21e3e88016cbbd5282ee9f.tar.gz rust-260f9b9e91c36e87bc21e3e88016cbbd5282ee9f.zip | |
Link to edition guide instead of issues for 2021 lints.
Diffstat (limited to 'src/test/ui/parser/trait-object-trait-parens.stderr')
| -rw-r--r-- | src/test/ui/parser/trait-object-trait-parens.stderr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ui/parser/trait-object-trait-parens.stderr b/src/test/ui/parser/trait-object-trait-parens.stderr index 9bfc4943fe9..b39fe4646a3 100644 --- a/src/test/ui/parser/trait-object-trait-parens.stderr +++ b/src/test/ui/parser/trait-object-trait-parens.stderr @@ -24,7 +24,7 @@ LL | let _: Box<(Obj) + (?Sized) + (for<'a> Trait<'a>)>; | = note: `#[warn(bare_trait_objects)]` on by default = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! - = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165> + = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> warning: trait objects without an explicit `dyn` are deprecated --> $DIR/trait-object-trait-parens.rs:13:16 @@ -33,7 +33,7 @@ LL | let _: Box<?Sized + (for<'a> Trait<'a>) + (Obj)>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ?Sized + (for<'a> Trait<'a>) + (Obj)` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! - = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165> + = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> warning: trait objects without an explicit `dyn` are deprecated --> $DIR/trait-object-trait-parens.rs:18:16 @@ -42,7 +42,7 @@ LL | let _: Box<for<'a> Trait<'a> + (Obj) + (?Sized)>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn for<'a> Trait<'a> + (Obj) + (?Sized)` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! - = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165> + = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> error[E0225]: only auto traits can be used as additional traits in a trait object --> $DIR/trait-object-trait-parens.rs:8:35 |
