|
| 1 | +error: unresolved link to `NonExistentStruct` |
| 2 | + --> $DIR/html-as-generics-intra-doc.rs:13:17 |
| 3 | + | |
| 4 | +LL | /// This [test][NonExistentStruct<i32>] thing! |
| 5 | + | ^^^^^^^^^^^^^^^^^^^^^^ no item named `NonExistentStruct` in scope |
| 6 | + | |
| 7 | +note: the lint level is defined here |
| 8 | + --> $DIR/html-as-generics-intra-doc.rs:2:9 |
| 9 | + | |
| 10 | +LL | #![deny(rustdoc::broken_intra_doc_links)] |
| 11 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 12 | + = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` |
| 13 | + |
| 14 | +error: unresolved link to `NonExistentStruct2` |
| 15 | + --> $DIR/html-as-generics-intra-doc.rs:17:11 |
| 16 | + | |
| 17 | +LL | /// This [NonExistentStruct2<i32>] thing! |
| 18 | + | ^^^^^^^^^^^^^^^^^^^^^^^ no item named `NonExistentStruct2` in scope |
| 19 | + | |
| 20 | + = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` |
| 21 | + |
| 22 | +error: unresolved link to `NonExistentStruct3` |
| 23 | + --> $DIR/html-as-generics-intra-doc.rs:22:11 |
| 24 | + | |
| 25 | +LL | /// This [NonExistentStruct3<i32>][] thing! |
| 26 | + | ^^^^^^^^^^^^^^^^^^^^^^^ no item named `NonExistentStruct3` in scope |
| 27 | + | |
| 28 | + = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` |
| 29 | + |
| 30 | +error: unclosed HTML tag `i32` |
| 31 | + --> $DIR/html-as-generics-intra-doc.rs:9:25 |
| 32 | + | |
| 33 | +LL | /// This [ExistentStruct<i32>] thing! |
| 34 | + | ^^^^^ |
| 35 | + | |
| 36 | +note: the lint level is defined here |
| 37 | + --> $DIR/html-as-generics-intra-doc.rs:1:9 |
| 38 | + | |
| 39 | +LL | #![deny(rustdoc::invalid_html_tags)] |
| 40 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 41 | +help: try marking as source code |
| 42 | + | |
| 43 | +LL | /// This [`ExistentStruct<i32>`] thing! |
| 44 | + | + + |
| 45 | + |
| 46 | +error: unclosed HTML tag `i32` |
| 47 | + --> $DIR/html-as-generics-intra-doc.rs:17:29 |
| 48 | + | |
| 49 | +LL | /// This [NonExistentStruct2<i32>] thing! |
| 50 | + | ^^^^^ |
| 51 | + | |
| 52 | +help: try marking as source code |
| 53 | + | |
| 54 | +LL | /// This [`NonExistentStruct2<i32>`] thing! |
| 55 | + | + + |
| 56 | + |
| 57 | +error: unclosed HTML tag `i32` |
| 58 | + --> $DIR/html-as-generics-intra-doc.rs:22:29 |
| 59 | + | |
| 60 | +LL | /// This [NonExistentStruct3<i32>][] thing! |
| 61 | + | ^^^^^ |
| 62 | + | |
| 63 | +help: try marking as source code |
| 64 | + | |
| 65 | +LL | /// This [`NonExistentStruct3<i32>`][] thing! |
| 66 | + | + + |
| 67 | + |
| 68 | +error: aborting due to 6 previous errors |
| 69 | + |
0 commit comments