Skip to content

Commit 0b566f6

Browse files
Rollup merge of #34369 - astocko:fix_doc_urls, r=steveklabnik
book: Fixed links in book/compiler-plugins.md Updated the links referring to roman_numerals.rs and lint_plugin_test.rs. Went from src/test/auxiliary/ to src/test/run-pass-fulldeps/auxiliary/.
2 parents 469d17c + e79b672 commit 0b566f6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/doc/book/compiler-plugins.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ code that manipulates syntax trees at
3434
compile time.
3535

3636
Let's write a plugin
37-
[`roman_numerals.rs`](https://github.com/rust-lang/rust/tree/master/src/test/auxiliary/roman_numerals.rs)
37+
[`roman_numerals.rs`](https://github.com/rust-lang/rust/blob/master/src/test/run-pass-fulldeps/auxiliary/roman_numerals.rs)
3838
that implements Roman numeral integer literals.
3939

4040
```rust,ignore
@@ -166,7 +166,8 @@ quasiquote as an ordinary plugin library.
166166

167167
Plugins can extend [Rust's lint
168168
infrastructure](../reference.html#lint-check-attributes) with additional checks for
169-
code style, safety, etc. Now let's write a plugin [`lint_plugin_test.rs`](https://github.com/rust-lang/rust/blob/master/src/test/auxiliary/lint_plugin_test.rs)
169+
code style, safety, etc. Now let's write a plugin
170+
[`lint_plugin_test.rs`](https://github.com/rust-lang/rust/blob/master/src/test/run-pass-fulldeps/auxiliary/lint_plugin_test.rs)
170171
that warns about any item named `lintme`.
171172

172173
```rust,ignore

0 commit comments

Comments
 (0)