rustdoc: update test case to deal with "coo" only accepting dist=1
This commit is contained in:
parent
e09e6df787
commit
8211760b91
1 changed files with 14 additions and 2 deletions
|
@ -340,7 +340,7 @@ pub mod details {
|
||||||
pub mod doc_block_table {
|
pub mod doc_block_table {
|
||||||
|
|
||||||
pub trait DocBlockTableTrait {
|
pub trait DocBlockTableTrait {
|
||||||
fn func();
|
fn foo();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Struct doc.
|
/// Struct doc.
|
||||||
|
@ -359,7 +359,7 @@ pub mod doc_block_table {
|
||||||
/// | header1 | header2 |
|
/// | header1 | header2 |
|
||||||
/// |--------------------------|--------------------------|
|
/// |--------------------------|--------------------------|
|
||||||
/// | Lorem Ipsum, Lorem Ipsum | Lorem Ipsum, Lorem Ipsum |
|
/// | Lorem Ipsum, Lorem Ipsum | Lorem Ipsum, Lorem Ipsum |
|
||||||
fn func() {
|
fn foo() {
|
||||||
println!();
|
println!();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -474,3 +474,15 @@ impl TypeWithImplDoc {
|
||||||
///
|
///
|
||||||
/// </sub>
|
/// </sub>
|
||||||
pub mod codeblock_sub {}
|
pub mod codeblock_sub {}
|
||||||
|
pub mod search_results {
|
||||||
|
|
||||||
|
pub struct SearchResults {
|
||||||
|
pub foo: i32,
|
||||||
|
}
|
||||||
|
|
||||||
|
#[macro_export]
|
||||||
|
macro_rules! foo {
|
||||||
|
() => {};
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue