Skip to content

Commit 226656f

Browse files
committed
Auto merge of #46463 - nak3:fix-invalid-docs-path, r=kennytm
Fix invalid docs path for compiler plugins The path to the docs `src/doc/guide-plugin.md` moved to `src/doc/unstable-book/src/language-features/plugin.md`. This patch updates it in the comment of WARNING message of the test code.
2 parents 1a8282a + 3e46fa2 commit 226656f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/run-pass-fulldeps/auxiliary/roman_numerals.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ use rustc_plugin::Registry;
2929
// WARNING WARNING WARNING WARNING WARNING
3030
// =======================================
3131
//
32-
// This code also appears in src/doc/guide-plugin.md. Please keep
33-
// the two copies in sync! FIXME: have rustdoc read this file
32+
// This code also appears in src/doc/unstable-book/src/language-features/plugin.md.
33+
// Please keep the two copies in sync! FIXME: have rustdoc read this file
3434

3535
fn expand_rn(cx: &mut ExtCtxt, sp: Span, args: &[TokenTree])
3636
-> Box<MacResult + 'static> {

0 commit comments

Comments
 (0)