]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/range/range-inclusive-pattern-precedence2.stderr
Auto merge of #86492 - hyd-dev:no-mangle-method, r=petrochenkov
[rust.git] / src / test / ui / range / range-inclusive-pattern-precedence2.stderr
index 99322f9dd91d72b29f8ecad9dec1670d98e7cae8..009273c74350b214d1b70725cfb53f5d81b61df4 100644 (file)
@@ -15,8 +15,8 @@ note: the lint level is defined here
    |
 LL | #![warn(ellipsis_inclusive_range_patterns)]
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-   = warning: this is valid in the current edition (Rust 2015) but is not accepted in the Rust 2021 edition!
-   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
+   = 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>
 
 error: aborting due to previous error; 1 warning emitted