diff --git a/src/attributes.md b/src/attributes.md index 42009e8cb..703ec602e 100644 --- a/src/attributes.md +++ b/src/attributes.md @@ -327,8 +327,7 @@ For any lint check `C`: The lint checks supported by the compiler can be found via `rustc -W help`, along with their default settings. [Compiler -plugins](../unstable-book/plugin.html#lint-plugins) can provide additional -lint checks. +plugins][unstable book plugin] can provide additional lint checks. ```rust,ignore pub mod m1 { @@ -488,3 +487,4 @@ If an unknown feature is found in a directive, it results in a compiler error. An unknown feature is one which has never been recognized by the compiler. [The Unstable Book]: https://doc.rust-lang.org/nightly/unstable-book/ +[unstable book plugin]: (../unstable-book/language-features/plugin.html#lint-plugins) diff --git a/src/macros.md b/src/macros.md index d64c40dca..df37e34b3 100644 --- a/src/macros.md +++ b/src/macros.md @@ -14,4 +14,4 @@ And one unstable way: [compiler plugins]. [Macros]: ../book/macros.html [Procedural Macros]: ../book/procedural-macros.html -[compiler plugins]: ../unstable-book/plugin.html +[compiler plugins]: ../unstable-book/language-features/plugin.html