diff --git a/src/test/compile-fail/feature-gate-dropck-ugeh.rs b/src/test/compile-fail/feature-gate-dropck-ugeh.rs index a7349e360076..aa479a987a35 100644 --- a/src/test/compile-fail/feature-gate-dropck-ugeh.rs +++ b/src/test/compile-fail/feature-gate-dropck-ugeh.rs @@ -12,7 +12,8 @@ // Example adapted from RFC 1238 text (just left out the feature gate). -// https://github.com/rust-lang/rfcs/blob/master/text/1238-nonparametric-dropck.md#example-of-the-unguarded-escape-hatch +// https://github.com/rust-lang/rfcs/blob/master/text/1238-nonparametric-dropck.md +// #example-of-the-unguarded-escape-hatch // #![feature(dropck_parametricity)] diff --git a/src/test/run-pass/issue28498-must-work-ex1.rs b/src/test/run-pass/issue28498-must-work-ex1.rs index 0c2aafec431c..83a978d57b95 100644 --- a/src/test/run-pass/issue28498-must-work-ex1.rs +++ b/src/test/run-pass/issue28498-must-work-ex1.rs @@ -10,7 +10,8 @@ // Example taken from RFC 1238 text -// https://github.com/rust-lang/rfcs/blob/master/text/1238-nonparametric-dropck.md#examples-of-code-that-must-continue-to-work +// https://github.com/rust-lang/rfcs/blob/master/text/1238-nonparametric-dropck.md +// #examples-of-code-that-must-continue-to-work use std::cell::Cell; diff --git a/src/test/run-pass/issue28498-must-work-ex2.rs b/src/test/run-pass/issue28498-must-work-ex2.rs index 5ab2631213f6..93652a1b612c 100644 --- a/src/test/run-pass/issue28498-must-work-ex2.rs +++ b/src/test/run-pass/issue28498-must-work-ex2.rs @@ -10,7 +10,8 @@ // Example taken from RFC 1238 text -// https://github.com/rust-lang/rfcs/blob/master/text/1238-nonparametric-dropck.md#examples-of-code-that-must-continue-to-work +// https://github.com/rust-lang/rfcs/blob/master/text/1238-nonparametric-dropck.md +// #examples-of-code-that-must-continue-to-work use std::cell::Cell; diff --git a/src/test/run-pass/issue28498-ugeh-ex1.rs b/src/test/run-pass/issue28498-ugeh-ex1.rs index 2df86e49b0f1..5a6da8190392 100644 --- a/src/test/run-pass/issue28498-ugeh-ex1.rs +++ b/src/test/run-pass/issue28498-ugeh-ex1.rs @@ -10,7 +10,8 @@ // Example taken from RFC 1238 text -// https://github.com/rust-lang/rfcs/blob/master/text/1238-nonparametric-dropck.md#example-of-the-unguarded-escape-hatch +// https://github.com/rust-lang/rfcs/blob/master/text/1238-nonparametric-dropck.md +// #example-of-the-unguarded-escape-hatch #![feature(dropck_parametricity)] use std::cell::Cell;