Remove render-redirect-pages option in rustdoc
This commit is contained in:
parent
af29620277
commit
e955bebcda
8 changed files with 1 additions and 86 deletions
|
|
@ -1,5 +1,3 @@
|
|||
// compile-flags:-Z unstable-options --generate-redirect-pages
|
||||
|
||||
use std::ops::Deref;
|
||||
|
||||
pub struct Foo;
|
||||
|
|
@ -15,7 +13,6 @@ impl Deref for Bar {
|
|||
fn deref(&self) -> &Foo { loop {} }
|
||||
}
|
||||
|
||||
// @has issue_19190/Bar.t.html
|
||||
// @has issue_19190/struct.Bar.html
|
||||
// @has - '//*[@id="method.foo"]//code' 'fn foo(&self)'
|
||||
// @has - '//*[@id="method.foo"]' 'fn foo(&self)'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,3 @@
|
|||
// compile-flags:-Z unstable-options --generate-redirect-pages
|
||||
|
||||
// @has structfields/Foo.t.html
|
||||
// @has - struct.Foo.html
|
||||
// @has structfields/struct.Foo.html
|
||||
pub struct Foo {
|
||||
// @has - //pre "pub a: ()"
|
||||
|
|
@ -16,8 +12,6 @@ pub struct Foo {
|
|||
pub d: usize,
|
||||
}
|
||||
|
||||
// @has structfields/Bar.t.html
|
||||
// @has - struct.Bar.html
|
||||
// @has structfields/struct.Bar.html
|
||||
pub struct Bar {
|
||||
// @has - //pre "pub a: ()"
|
||||
|
|
@ -25,8 +19,6 @@ pub struct Bar {
|
|||
// @!has - //pre "// some fields omitted"
|
||||
}
|
||||
|
||||
// @has structfields/Qux.t.html
|
||||
// @has - enum.Qux.html
|
||||
// @has structfields/enum.Qux.html
|
||||
pub enum Qux {
|
||||
Quz {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue