1 #![deny(broken_intra_doc_links)]
2 //~^ NOTE lint level is defined
5 //~^ ERROR both a module and a builtin type
6 //~| NOTE ambiguous link
7 //~| HELP to link to the module
8 //~| HELP to link to the builtin type
11 //~^ ERROR both a module and a builtin type
12 //~| NOTE ambiguous link
13 //~| HELP to link to the module
14 //~| HELP to link to the builtin type
20 //~^ ERROR incompatible link
21 //~| HELP prefix with `mod@`
22 //~| NOTE resolved to a module
27 //~^ ERROR incompatible link
28 //~| HELP prefix with `prim@`
29 //~| NOTE resolved to a builtin type