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