reformatted rustdoc/cross-crate-info, fixing trailing newline issue

This commit is contained in:
EtomicBomb 2024-07-24 22:35:14 +00:00
parent d8211def61
commit f6f0ef46f5
27 changed files with 2 additions and 46 deletions

View File

@ -1,4 +1,2 @@
//@ build-aux-docs //@ build-aux-docs
pub struct Quebec; pub struct Quebec;

View File

@ -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 {}

View File

@ -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 {}

View File

@ -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;

View File

@ -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 {}

View File

@ -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 {}

View File

@ -1,4 +1,2 @@
//@ build-aux-docs //@ build-aux-docs
pub trait Foxtrot {} pub trait Foxtrot {}

View File

@ -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 {}

View File

@ -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 {}

View File

@ -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 {}

View File

@ -1,4 +1,2 @@
//@ build-aux-docs //@ build-aux-docs
pub trait Foxtrot {} pub trait Foxtrot {}

View File

@ -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 {}

View File

@ -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;

View File

@ -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;

View File

@ -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 {}

View File

@ -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 {}

View File

@ -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

View File

@ -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;

View File

@ -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;

View File

@ -1,4 +1,2 @@
//@ build-aux-docs //@ build-aux-docs
pub struct Quebec; pub struct Quebec;

View File

@ -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 {}

View File

@ -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 {}

View File

@ -1,4 +1,2 @@
//@ build-aux-docs //@ build-aux-docs
pub trait Foxtrot {} pub trait Foxtrot {}

View File

@ -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 {}

View File

@ -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;

View File

@ -1,5 +1,3 @@
//@ build-aux-docs //@ build-aux-docs
//@ unique-doc-out-dir //@ unique-doc-out-dir
pub trait Foxtrot {} pub trait Foxtrot {}

View File

@ -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 {}