1 error: unresolved link to `NonExistentStruct`
2 --> $DIR/html-as-generics-intra-doc.rs:13:17
4 LL | /// This [test][NonExistentStruct<i32>] thing!
5 | ^^^^^^^^^^^^^^^^^^^^^^ no item named `NonExistentStruct` in scope
7 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
8 note: the lint level is defined here
9 --> $DIR/html-as-generics-intra-doc.rs:2:9
11 LL | #![deny(rustdoc::broken_intra_doc_links)]
12 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14 error: unresolved link to `NonExistentStruct2`
15 --> $DIR/html-as-generics-intra-doc.rs:17:11
17 LL | /// This [NonExistentStruct2<i32>] thing!
18 | ^^^^^^^^^^^^^^^^^^^^^^^ no item named `NonExistentStruct2` in scope
20 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
22 error: unresolved link to `NonExistentStruct3`
23 --> $DIR/html-as-generics-intra-doc.rs:22:11
25 LL | /// This [NonExistentStruct3<i32>][] thing!
26 | ^^^^^^^^^^^^^^^^^^^^^^^ no item named `NonExistentStruct3` in scope
28 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
30 error: unclosed HTML tag `i32`
31 --> $DIR/html-as-generics-intra-doc.rs:9:25
33 LL | /// This [ExistentStruct<i32>] thing!
36 note: the lint level is defined here
37 --> $DIR/html-as-generics-intra-doc.rs:1:9
39 LL | #![deny(rustdoc::invalid_html_tags)]
40 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
41 help: try marking as source code
43 LL | /// This [`ExistentStruct<i32>`] thing!
46 error: unclosed HTML tag `i32`
47 --> $DIR/html-as-generics-intra-doc.rs:17:29
49 LL | /// This [NonExistentStruct2<i32>] thing!
52 help: try marking as source code
54 LL | /// This [`NonExistentStruct2<i32>`] thing!
57 error: unclosed HTML tag `i32`
58 --> $DIR/html-as-generics-intra-doc.rs:22:29
60 LL | /// This [NonExistentStruct3<i32>][] thing!
63 help: try marking as source code
65 LL | /// This [`NonExistentStruct3<i32>`][] thing!
68 error: aborting due to 6 previous errors