Skip to content

Commit d6c64f4

Browse files
committed
Fix an incorrect link in The Unstable Book
https://github.com/rust-lang/rust/blob/master/src/librustc_session/lint/builtin.rs returns page not found. The following is the background of the move. First rust-lang#74862 moves from src/librustc_session/lint/builtin.rs to compiler/rustc_session/src/lint/builtin.rs Then rust-lang@23018a5 moves from compiler/rustc_session/src/lint/builtin.rs to compiler/rustc_lint_defs/src/builtin.rs So, the current correct link is https://github.com/rust-lang/rust/blob/master/compiler/rustc_lint_defs/src/builtin.rs This PR fixes a broken link on the following page: https://doc.rust-lang.org/beta/unstable-book/language-features/plugin.html
1 parent 9a25164 commit d6c64f4

File tree

1 file changed

+1
-1
lines changed
  • src/doc/unstable-book/src/language-features

1 file changed

+1
-1
lines changed

src/doc/unstable-book/src/language-features/plugin.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ The components of a lint plugin are:
102102

103103
Lint passes are syntax traversals, but they run at a late stage of compilation
104104
where type information is available. `rustc`'s [built-in
105-
lints](https://github.com/rust-lang/rust/blob/master/src/librustc_session/lint/builtin.rs)
105+
lints](https://github.com/rust-lang/rust/blob/master/compiler/rustc_lint_defs/src/builtin.rs)
106106
mostly use the same infrastructure as lint plugins, and provide examples of how
107107
to access type information.
108108

0 commit comments

Comments
 (0)