diff options
Diffstat (limited to 'src/test/rustdoc-ui/check-fail.rs')
-rw-r--r-- | src/test/rustdoc-ui/check-fail.rs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/test/rustdoc-ui/check-fail.rs b/src/test/rustdoc-ui/check-fail.rs deleted file mode 100644 index c5e1759ee..000000000 --- a/src/test/rustdoc-ui/check-fail.rs +++ /dev/null @@ -1,22 +0,0 @@ -// compile-flags: -Z unstable-options --check - -#![feature(rustdoc_missing_doc_code_examples)] -#![deny(missing_docs)] -#![deny(rustdoc::all)] - -//! ```rust,testharness -//~^ ERROR -//! let x = 12; -//! ``` - -pub fn foo() {} -//~^ ERROR -//~^^ ERROR - -/// hello -//~^ ERROR -/// -/// ```rust,testharness -/// let x = 12; -/// ``` -pub fn bar() {} |