Skip to content

Commit

Permalink
Make 'generate-redirect-pages' option unstable
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jan 27, 2019
1 parent 270151b commit 65440a3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/librustdoc/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion src/test/rustdoc/issue-19190.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// compile-flags:--generate-redirect-pages
// compile-flags:-Z unstable-options --generate-redirect-pages

use std::ops::Deref;

Expand Down
2 changes: 1 addition & 1 deletion src/test/rustdoc/structfields.rs
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 65440a3

Please sign in to comment.