We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebbcbfc commit e4d48c3Copy full SHA for e4d48c3
1 file changed
src/test/rustdoc/intra-doc/email-address.rs
@@ -1,8 +1,10 @@
1
-#![allow(rustdoc::broken_intra_doc_links)]
+#![forbid(rustdoc::broken_intra_doc_links)]
2
3
//! Email me at <hello@example.com>.
4
//! Email me at <hello-world@example.com>.
5
-//! Email me at <hello@localhost> (this warns but will still become a link).
+//! Email me at <hello@localhost>.
6
+//! Email me at <prim@i32>.
7
// @has email_address/index.html '//a[@href="mailto:hello@example.com"]' 'hello@example.com'
8
// @has email_address/index.html '//a[@href="mailto:hello-world@example.com"]' 'hello-world@example.com'
9
// @has email_address/index.html '//a[@href="mailto:hello@localhost"]' 'hello@localhost'
10
+// @has email_address/index.html '//a[@href="mailto:prim@i32"]' 'prim@i32'
0 commit comments