rustdoc: update test case to deal with "coo" only accepting dist=1

This commit is contained in:
Michael Howell 2022-10-28 23:07:36 -07:00
parent e09e6df787
commit 8211760b91
1 changed files with 14 additions and 2 deletions

View File

@ -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 {
() => {};
}
}