Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3e80697

Browse files
committedDec 16, 2024
Use links to edition guide for edition migrations
1 parent f2b91cc commit 3e80697

File tree

42 files changed

+200
-190
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+200
-190
lines changed
 

‎compiler/rustc_lint/src/builtin.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1814,7 +1814,7 @@ declare_lint! {
18141814
"detects edition keywords being used as an identifier",
18151815
@future_incompatible = FutureIncompatibleInfo {
18161816
reason: FutureIncompatibilityReason::EditionError(Edition::Edition2024),
1817-
reference: "issue #49716 <https://github.com/rust-lang/rust/issues/49716>",
1817+
reference: "<https://doc.rust-lang.org/nightly/edition-guide/rust-2024/gen-keyword.html>",
18181818
};
18191819
}
18201820

‎compiler/rustc_lint/src/if_let_rescope.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ declare_lint! {
8484
rewriting in `match` is an option to preserve the semantics up to Edition 2021",
8585
@future_incompatible = FutureIncompatibleInfo {
8686
reason: FutureIncompatibilityReason::EditionSemanticsChange(Edition::Edition2024),
87-
reference: "issue #124085 <https://github.com/rust-lang/rust/issues/124085>",
87+
reference: "<https://doc.rust-lang.org/nightly/edition-guide/rust-2024/temporary-if-let-scope.html>",
8888
};
8989
}
9090

0 commit comments

Comments
 (0)
This repository has been archived.