Make 'generate-redirect-pages' option unstable

This commit is contained in:
Guillaume Gomez 2019-01-27 00:44:33 +01:00
parent 270151bffb
commit 65440a3f4f
3 changed files with 3 additions and 3 deletions

View File

@ -348,7 +348,7 @@ fn opts() -> Vec<RustcOptGroup> {
"Directory to persist doctest executables into",
"PATH")
}),
stable("generate-redirect-pages", |o| {
unstable("generate-redirect-pages", |o| {
o.optflag("",
"generate-redirect-pages",
"Generate extra pages to support legacy URLs and tool links")

View File

@ -1,4 +1,4 @@
// compile-flags:--generate-redirect-pages
// compile-flags:-Z unstable-options --generate-redirect-pages
use std::ops::Deref;

View File

@ -1,4 +1,4 @@
// compile-flags:--generate-redirect-pages
// compile-flags:-Z unstable-options --generate-redirect-pages
// @has structfields/Foo.t.html
// @has - struct.Foo.html