summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-ui/doctest-edition.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc-ui/doctest-edition.rs')
-rw-r--r--src/test/rustdoc-ui/doctest-edition.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/rustdoc-ui/doctest-edition.rs b/src/test/rustdoc-ui/doctest-edition.rs
deleted file mode 100644
index b0787be97..000000000
--- a/src/test/rustdoc-ui/doctest-edition.rs
+++ /dev/null
@@ -1,16 +0,0 @@
-// edition:2021
-
-#![deny(rustdoc::invalid_rust_codeblocks)]
-//~^ NOTE lint level is defined here
-
-// By default, rustdoc should use the edition of the crate.
-//! ```
-//! foo'b'
-//! ```
-//~^^^ ERROR could not parse
-//~| NOTE prefix `foo` is unknown
-
-// Rustdoc should respect `edition2018` when highlighting syntax.
-//! ```edition2018
-//! foo'b'
-//! ```