File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/test/rustdoc/intra-doc Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
- #![ allow ( rustdoc:: broken_intra_doc_links) ]
1
+ #![ forbid ( rustdoc:: broken_intra_doc_links) ]
2
2
3
3
//! Email me at <hello@example.com>.
4
4
//! Email me at <hello-world@example.com>.
5
- //! Email me at <hello@localhost> (this warns but will still become a link).
5
+ //! Email me at <hello@localhost>.
6
+ //! Email me at <prim@i32>.
6
7
// @has email_address/index.html '//a[@href="mailto:hello@example.com"]' 'hello@example.com'
7
8
// @has email_address/index.html '//a[@href="mailto:hello-world@example.com"]' 'hello-world@example.com'
8
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'
You can’t perform that action at this time.
0 commit comments