diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2019-01-27 00:44:33 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2019-01-27 12:46:18 +0100 |
| commit | 65440a3f4fe42acbe9970638b567ee3fa68d4824 (patch) | |
| tree | 329daa14f291a40758e08e022d6af9feb6b2bc35 | |
| parent | 270151bffb0be259ff20feee3801bb124c2c39ec (diff) | |
| download | rust-65440a3f4fe42acbe9970638b567ee3fa68d4824.tar.gz rust-65440a3f4fe42acbe9970638b567ee3fa68d4824.zip | |
Make 'generate-redirect-pages' option unstable
| -rw-r--r-- | src/librustdoc/lib.rs | 2 | ||||
| -rw-r--r-- | src/test/rustdoc/issue-19190.rs | 2 | ||||
| -rw-r--r-- | src/test/rustdoc/structfields.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs index 290f9586404..4e0302b0224 100644 --- a/src/librustdoc/lib.rs +++ b/src/librustdoc/lib.rs @@ -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") diff --git a/src/test/rustdoc/issue-19190.rs b/src/test/rustdoc/issue-19190.rs index e023e79fcde..c6bac51c574 100644 --- a/src/test/rustdoc/issue-19190.rs +++ b/src/test/rustdoc/issue-19190.rs @@ -1,4 +1,4 @@ -// compile-flags:--generate-redirect-pages +// compile-flags:-Z unstable-options --generate-redirect-pages use std::ops::Deref; diff --git a/src/test/rustdoc/structfields.rs b/src/test/rustdoc/structfields.rs index bfe116acffc..235f0e852da 100644 --- a/src/test/rustdoc/structfields.rs +++ b/src/test/rustdoc/structfields.rs @@ -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 |
