reformatted rustdoc/cross-crate-info, fixing trailing newline issue
This commit is contained in:
parent
d8211def61
commit
f6f0ef46f5
@ -1,4 +1,2 @@
|
||||
//@ build-aux-docs
|
||||
|
||||
|
||||
pub struct Quebec;
|
||||
|
@ -1,6 +1,4 @@
|
||||
//@ aux-build:q.rs
|
||||
//@ build-aux-docs
|
||||
|
||||
|
||||
extern crate q;
|
||||
pub trait Tango {}
|
||||
|
@ -1,6 +1,5 @@
|
||||
//@ aux-build:t.rs
|
||||
//@ build-aux-docs
|
||||
|
||||
//@ has q/struct.Quebec.html
|
||||
//@ has s/struct.Sierra.html
|
||||
//@ has t/trait.Tango.html
|
||||
@ -12,7 +11,6 @@
|
||||
|
||||
// We document multiple crates into the same output directory, which
|
||||
// merges the cross-crate information. Everything is available.
|
||||
|
||||
extern crate t;
|
||||
pub struct Sierra;
|
||||
impl t::Tango for Sierra {}
|
||||
|
@ -2,5 +2,4 @@
|
||||
//@ doc-flags:--enable-index-page
|
||||
//@ doc-flags:-Zunstable-options
|
||||
|
||||
|
||||
pub struct Quebec;
|
||||
|
@ -3,6 +3,5 @@
|
||||
//@ doc-flags:--enable-index-page
|
||||
//@ doc-flags:-Zunstable-options
|
||||
|
||||
|
||||
extern crate q;
|
||||
pub trait Tango {}
|
||||
|
@ -19,7 +19,6 @@
|
||||
|
||||
// We document multiple crates into the same output directory, which
|
||||
// merges the cross-crate information. Everything is available.
|
||||
|
||||
extern crate t;
|
||||
pub struct Sierra;
|
||||
impl t::Tango for Sierra {}
|
||||
|
@ -1,4 +1,2 @@
|
||||
//@ build-aux-docs
|
||||
|
||||
|
||||
pub trait Foxtrot {}
|
||||
|
@ -1,6 +1,5 @@
|
||||
//@ aux-build:f.rs
|
||||
//@ build-aux-docs
|
||||
|
||||
//@ has e/enum.Echo.html
|
||||
//@ has f/trait.Foxtrot.html
|
||||
//@ hasraw e/enum.Echo.html 'Foxtrot'
|
||||
@ -10,7 +9,6 @@
|
||||
|
||||
// document two crates in the same way that cargo does. do not provide
|
||||
// --enable-index-page
|
||||
|
||||
extern crate f;
|
||||
pub enum Echo {}
|
||||
impl f::Foxtrot for Echo {}
|
||||
|
@ -2,5 +2,4 @@
|
||||
//@ doc-flags:--enable-index-page
|
||||
//@ doc-flags:-Zunstable-options
|
||||
|
||||
|
||||
pub trait Foxtrot {}
|
||||
|
@ -16,7 +16,6 @@
|
||||
|
||||
// document two crates in the same way that cargo does, writing them both
|
||||
// into the same output directory
|
||||
|
||||
extern crate f;
|
||||
pub enum Echo {}
|
||||
impl f::Foxtrot for Echo {}
|
||||
|
@ -1,4 +1,2 @@
|
||||
//@ build-aux-docs
|
||||
|
||||
|
||||
pub trait Foxtrot {}
|
||||
|
@ -15,7 +15,6 @@
|
||||
//@ hasraw search-index.js 'Echo'
|
||||
|
||||
// only declare --enable-index-page to the last rustdoc invocation
|
||||
|
||||
extern crate f;
|
||||
pub enum Echo {}
|
||||
impl f::Foxtrot for Echo {}
|
||||
|
@ -2,5 +2,4 @@
|
||||
//@ doc-flags:--enable-index-page
|
||||
//@ doc-flags:-Zunstable-options
|
||||
|
||||
|
||||
pub struct Quebec;
|
||||
|
@ -3,6 +3,5 @@
|
||||
//@ doc-flags:--enable-index-page
|
||||
//@ doc-flags:-Zunstable-options
|
||||
|
||||
|
||||
extern crate s;
|
||||
pub type Romeo = s::Sierra;
|
||||
|
@ -3,7 +3,6 @@
|
||||
//@ doc-flags:--enable-index-page
|
||||
//@ doc-flags:-Zunstable-options
|
||||
|
||||
|
||||
extern crate t;
|
||||
pub struct Sierra;
|
||||
impl t::Tango for Sierra {}
|
||||
|
@ -3,6 +3,5 @@
|
||||
//@ doc-flags:--enable-index-page
|
||||
//@ doc-flags:-Zunstable-options
|
||||
|
||||
|
||||
extern crate q;
|
||||
pub trait Tango {}
|
||||
|
@ -1,7 +1,7 @@
|
||||
//@ aux-build:q.rs
|
||||
//@ aux-build:r.rs
|
||||
//@ aux-build:s.rs
|
||||
//@ aux-build:q.rs
|
||||
//@ aux-build:t.rs
|
||||
//@ aux-build:s.rs
|
||||
//@ build-aux-docs
|
||||
//@ doc-flags:--enable-index-page
|
||||
//@ doc-flags:-Zunstable-options
|
||||
@ -28,5 +28,3 @@
|
||||
//@ hasraw type.impl/s/struct.Sierra.js 'Romeo'
|
||||
|
||||
// document everything in the default mode
|
||||
|
||||
|
||||
|
@ -9,5 +9,4 @@
|
||||
//@ hasraw search-index.js 'Quebec'
|
||||
|
||||
// there's nothing cross-crate going on here
|
||||
|
||||
pub struct Quebec;
|
||||
|
@ -1,8 +1,6 @@
|
||||
//@ build-aux-docs
|
||||
|
||||
//@ has q/struct.Quebec.html
|
||||
//@ hasraw search-index.js 'Quebec'
|
||||
|
||||
// there's nothing cross-crate going on here
|
||||
|
||||
pub struct Quebec;
|
||||
|
@ -1,4 +1,2 @@
|
||||
//@ build-aux-docs
|
||||
|
||||
|
||||
pub struct Quebec;
|
||||
|
@ -1,6 +1,4 @@
|
||||
//@ aux-build:q.rs
|
||||
//@ build-aux-docs
|
||||
|
||||
|
||||
extern crate q;
|
||||
pub trait Tango {}
|
||||
|
@ -1,9 +1,6 @@
|
||||
//@ aux-build:t.rs
|
||||
//@ build-aux-docs
|
||||
|
||||
|
||||
// simple test to see if we support building transitive crates
|
||||
|
||||
extern crate t;
|
||||
pub struct Sierra;
|
||||
impl t::Tango for Sierra {}
|
||||
|
@ -1,4 +1,2 @@
|
||||
//@ build-aux-docs
|
||||
|
||||
|
||||
pub trait Foxtrot {}
|
||||
|
@ -1,9 +1,6 @@
|
||||
//@ aux-build:f.rs
|
||||
//@ build-aux-docs
|
||||
|
||||
|
||||
// simple test to assert that we can do a two-level aux-build
|
||||
|
||||
extern crate f;
|
||||
pub enum Echo {}
|
||||
impl f::Foxtrot for Echo {}
|
||||
|
@ -7,5 +7,4 @@
|
||||
|
||||
// where will --scrape-examples-output-path resolve the path to be?
|
||||
// should be the root output directory
|
||||
|
||||
pub struct Quebec;
|
||||
|
@ -1,5 +1,3 @@
|
||||
//@ build-aux-docs
|
||||
//@ unique-doc-out-dir
|
||||
|
||||
|
||||
pub trait Foxtrot {}
|
||||
|
@ -1,6 +1,5 @@
|
||||
//@ aux-build:f.rs
|
||||
//@ build-aux-docs
|
||||
|
||||
//@ has e/enum.Echo.html
|
||||
//@ !has f/trait.Foxtrot.html
|
||||
//@ hasraw e/enum.Echo.html 'Foxtrot'
|
||||
@ -10,7 +9,6 @@
|
||||
|
||||
// test the fact that our test runner will document this crate somewhere
|
||||
// else
|
||||
|
||||
extern crate f;
|
||||
pub enum Echo {}
|
||||
impl f::Foxtrot for Echo {}
|
||||
|
Loading…
Reference in New Issue
Block a user