From 64d98f8ee037282c35007b64c2649055c56af1db Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:03 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- src/test/rustdoc-ui/check-fail.rs | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 src/test/rustdoc-ui/check-fail.rs (limited to 'src/test/rustdoc-ui/check-fail.rs') 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() {} -- cgit v1.2.3