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/range | |
| 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/range')
| -rw-r--r-- | src/test/ui/range/range-inclusive-pattern-precedence.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/range/range-inclusive-pattern-precedence2.stderr | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/range/range-inclusive-pattern-precedence.stderr b/src/test/ui/range/range-inclusive-pattern-precedence.stderr index 3330ced1ebf..8af1a570253 100644 --- a/src/test/ui/range/range-inclusive-pattern-precedence.stderr +++ b/src/test/ui/range/range-inclusive-pattern-precedence.stderr @@ -16,7 +16,7 @@ note: the lint level is defined here LL | #![warn(ellipsis_inclusive_range_patterns)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = 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 previous error; 1 warning emitted diff --git a/src/test/ui/range/range-inclusive-pattern-precedence2.stderr b/src/test/ui/range/range-inclusive-pattern-precedence2.stderr index 90a4aa68222..009273c7435 100644 --- a/src/test/ui/range/range-inclusive-pattern-precedence2.stderr +++ b/src/test/ui/range/range-inclusive-pattern-precedence2.stderr @@ -16,7 +16,7 @@ note: the lint level is defined here LL | #![warn(ellipsis_inclusive_range_patterns)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = 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 previous error; 1 warning emitted |
