summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-ui/doc-without-codeblock.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc-ui/doc-without-codeblock.rs')
-rw-r--r--src/test/rustdoc-ui/doc-without-codeblock.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/rustdoc-ui/doc-without-codeblock.rs b/src/test/rustdoc-ui/doc-without-codeblock.rs
index 315fca195..86d7c83d3 100644
--- a/src/test/rustdoc-ui/doc-without-codeblock.rs
+++ b/src/test/rustdoc-ui/doc-without-codeblock.rs
@@ -1,4 +1,5 @@
-#![deny(rustdoc::missing_doc_code_examples)] //~ ERROR missing code example in this documentation
+#![feature(rustdoc_missing_doc_code_examples)] //~ ERROR missing code example in this documentation
+#![deny(rustdoc::missing_doc_code_examples)]
/// Some docs.
//~^ ERROR missing code example in this documentation