fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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