mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
rustdoc: update test case to deal with "coo" only accepting dist=1
This commit is contained in:
parent
e09e6df787
commit
8211760b91
@ -340,7 +340,7 @@ pub mod details {
|
||||
pub mod doc_block_table {
|
||||
|
||||
pub trait DocBlockTableTrait {
|
||||
fn func();
|
||||
fn foo();
|
||||
}
|
||||
|
||||
/// Struct doc.
|
||||
@ -359,7 +359,7 @@ pub mod doc_block_table {
|
||||
/// | header1 | header2 |
|
||||
/// |--------------------------|--------------------------|
|
||||
/// | Lorem Ipsum, Lorem Ipsum | Lorem Ipsum, Lorem Ipsum |
|
||||
fn func() {
|
||||
fn foo() {
|
||||
println!();
|
||||
}
|
||||
}
|
||||
@ -474,3 +474,15 @@ impl TypeWithImplDoc {
|
||||
///
|
||||
/// </sub>
|
||||
pub mod codeblock_sub {}
|
||||
pub mod search_results {
|
||||
|
||||
pub struct SearchResults {
|
||||
pub foo: i32,
|
||||
}
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! foo {
|
||||
() => {};
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user