]> git.proxmox.com Git - rustc.git/blobdiff - src/test/rustdoc-ui/renamed-lint-still-applies.rs
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / rustdoc-ui / renamed-lint-still-applies.rs
diff --git a/src/test/rustdoc-ui/renamed-lint-still-applies.rs b/src/test/rustdoc-ui/renamed-lint-still-applies.rs
new file mode 100644 (file)
index 0000000..8c61c1c
--- /dev/null
@@ -0,0 +1,6 @@
+// compile-args: --crate-type lib
+#![deny(broken_intra_doc_links)]
+// FIXME: the old names for rustdoc lints should warn by default once `rustdoc::` makes it to the
+// stable channel.
+//! [x]
+//~^ ERROR unresolved link