about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/array_into_iter.rs
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2021-08-09 17:45:01 +0200
committerMara Bos <m-ou.se@m-ou.se>2021-08-09 17:45:01 +0200
commit260f9b9e91c36e87bc21e3e88016cbbd5282ee9f (patch)
treee37b0547c2da4a98e287e03bd0929cae25920353 /compiler/rustc_lint/src/array_into_iter.rs
parenteaf6f463599df1f18da94a6965e216ea15795417 (diff)
downloadrust-260f9b9e91c36e87bc21e3e88016cbbd5282ee9f.tar.gz
rust-260f9b9e91c36e87bc21e3e88016cbbd5282ee9f.zip
Link to edition guide instead of issues for 2021 lints.
Diffstat (limited to 'compiler/rustc_lint/src/array_into_iter.rs')
-rw-r--r--compiler/rustc_lint/src/array_into_iter.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/array_into_iter.rs b/compiler/rustc_lint/src/array_into_iter.rs
index 77741c7240b..21fad5f9af6 100644
--- a/compiler/rustc_lint/src/array_into_iter.rs
+++ b/compiler/rustc_lint/src/array_into_iter.rs
@@ -32,7 +32,7 @@ declare_lint! {
     Warn,
     "detects calling `into_iter` on arrays in Rust 2015 and 2018",
     @future_incompatible = FutureIncompatibleInfo {
-        reference: "issue #66145 <https://github.com/rust-lang/rust/issues/66145>",
+        reference: "<https://doc.rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html>",
         reason: FutureIncompatibilityReason::EditionSemanticsChange(Edition::Edition2021),
     };
 }