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 /compiler/rustc_lint/src/array_into_iter.rs | |
| parent | eaf6f463599df1f18da94a6965e216ea15795417 (diff) | |
| download | rust-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.rs | 2 |
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), }; } |
