Update rustdoc-ui tests

This commit is contained in:
Guillaume Gomez 2019-05-17 13:39:20 +02:00
parent b5d4bd2a07
commit c78af2bc60
4 changed files with 38 additions and 8 deletions

View file

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