Update rustdoc-ui tests
This commit is contained in:
parent
b5d4bd2a07
commit
c78af2bc60
4 changed files with 38 additions and 8 deletions
|
@ -16,7 +16,7 @@ fn test() {
|
|||
}
|
||||
|
||||
#[allow(missing_docs)]
|
||||
mod module1 {
|
||||
mod module1 { //~ ERROR
|
||||
}
|
||||
|
||||
#[allow(missing_doc_code_examples)]
|
||||
|
@ -35,5 +35,6 @@ mod module2 {
|
|||
pub mod module3 {
|
||||
|
||||
/// doc
|
||||
//~^ ERROR
|
||||
pub fn test() {}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue