diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-08-12 13:25:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-12 13:25:07 +0200 |
| commit | 3d733f6785efbda9fa6196c4077df5b31273f1b9 (patch) | |
| tree | 3502d4ed94f8c11f6c38f92d7d2b32fd3e653f67 /src/tools/clippy/tests | |
| parent | cc54fdadd24baadbcf0c2b3a56cf2ea59284c23b (diff) | |
| parent | a851b56a105ae52f71bf040f80f9800db547d93d (diff) | |
| download | rust-3d733f6785efbda9fa6196c4077df5b31273f1b9.tar.gz rust-3d733f6785efbda9fa6196c4077df5b31273f1b9.zip | |
Rollup merge of #87885 - m-ou-se:edition-guide-links, r=rylev
Link to edition guide instead of issues for 2021 lints. This changes the 2021 lints to not link to github issues, but to the edition guide instead. Fixes #86996
Diffstat (limited to 'src/tools/clippy/tests')
| -rw-r--r-- | src/tools/clippy/tests/ui/crashes/ice-3969.stderr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/clippy/tests/ui/crashes/ice-3969.stderr b/src/tools/clippy/tests/ui/crashes/ice-3969.stderr index 8b2c318acf8..9a89047f072 100644 --- a/src/tools/clippy/tests/ui/crashes/ice-3969.stderr +++ b/src/tools/clippy/tests/ui/crashes/ice-3969.stderr @@ -6,7 +6,7 @@ LL | for<'a> Dst<A + 'a>: Sized, | = note: `-D bare-trait-objects` implied by `-D warnings` = 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: trait objects without an explicit `dyn` are deprecated --> $DIR/ice-3969.rs:27:16 @@ -15,7 +15,7 @@ LL | let x: Dst<A> = *(Box::new(Dst { x: 1 }) as Box<Dst<A>>); | ^ help: use `dyn`: `dyn A` | = 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: trait objects without an explicit `dyn` are deprecated --> $DIR/ice-3969.rs:27:57 @@ -24,7 +24,7 @@ LL | let x: Dst<A> = *(Box::new(Dst { x: 1 }) as Box<Dst<A>>); | ^ help: use `dyn`: `dyn A` | = 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: aborting due to 3 previous errors |
