@@ -10,74 +10,73 @@ note: the lint level is defined here
10
10
LL | #![deny(broken_intra_doc_links)]
11
11
| ^^^^^^^^^^^^^^^^^^^^^^
12
12
= note: no item named `path` is in scope
13
- = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
14
13
15
14
error: unresolved link to `std::io::not::here`
16
- --> $DIR/intra-link-errors.rs:13 :6
15
+ --> $DIR/intra-link-errors.rs:12 :6
17
16
|
18
17
LL | /// [std::io::not::here]
19
18
| ^^^^^^^^^^^^^^^^^^
20
19
|
21
20
= note: the module `io` has no inner item named `not`
22
21
23
22
error: unresolved link to `std::io::Error::x`
24
- --> $DIR/intra-link-errors.rs:17 :6
23
+ --> $DIR/intra-link-errors.rs:16 :6
25
24
|
26
25
LL | /// [std::io::Error::x]
27
26
| ^^^^^^^^^^^^^^^^^
28
27
|
29
28
= note: the struct `Error` has no field or associated item named `x`
30
29
31
30
error: unresolved link to `std::io::ErrorKind::x`
32
- --> $DIR/intra-link-errors.rs:21 :6
31
+ --> $DIR/intra-link-errors.rs:20 :6
33
32
|
34
33
LL | /// [std::io::ErrorKind::x]
35
34
| ^^^^^^^^^^^^^^^^^^^^^
36
35
|
37
36
= note: the enum `ErrorKind` has no variant or associated item named `x`
38
37
39
38
error: unresolved link to `f::A`
40
- --> $DIR/intra-link-errors.rs:25 :6
39
+ --> $DIR/intra-link-errors.rs:24 :6
41
40
|
42
41
LL | /// [f::A]
43
42
| ^^^^
44
43
|
45
44
= note: `f` is a function, not a module or type, and cannot have associated items
46
45
47
46
error: unresolved link to `S::A`
48
- --> $DIR/intra-link-errors.rs:29 :6
47
+ --> $DIR/intra-link-errors.rs:28 :6
49
48
|
50
49
LL | /// [S::A]
51
50
| ^^^^
52
51
|
53
52
= note: the struct `S` has no field or associated item named `A`
54
53
55
54
error: unresolved link to `S::fmt`
56
- --> $DIR/intra-link-errors.rs:33 :6
55
+ --> $DIR/intra-link-errors.rs:32 :6
57
56
|
58
57
LL | /// [S::fmt]
59
58
| ^^^^^^
60
59
|
61
60
= note: the struct `S` has no field or associated item named `fmt`
62
61
63
62
error: unresolved link to `E::D`
64
- --> $DIR/intra-link-errors.rs:37 :6
63
+ --> $DIR/intra-link-errors.rs:36 :6
65
64
|
66
65
LL | /// [E::D]
67
66
| ^^^^
68
67
|
69
68
= note: the enum `E` has no variant or associated item named `D`
70
69
71
70
error: unresolved link to `u8::not_found`
72
- --> $DIR/intra-link-errors.rs:41 :6
71
+ --> $DIR/intra-link-errors.rs:40 :6
73
72
|
74
73
LL | /// [u8::not_found]
75
74
| ^^^^^^^^^^^^^
76
75
|
77
76
= note: the builtin type `u8` does not have an associated item named `not_found`
78
77
79
78
error: unresolved link to `S`
80
- --> $DIR/intra-link-errors.rs:45 :6
79
+ --> $DIR/intra-link-errors.rs:44 :6
81
80
|
82
81
LL | /// [S!]
83
82
| ^^
@@ -89,32 +88,31 @@ LL | /// [struct@S]
89
88
| ^^^^^^^^
90
89
91
90
error: unresolved link to `T::g`
92
- --> $DIR/intra-link-errors.rs:63 :6
91
+ --> $DIR/intra-link-errors.rs:62 :6
93
92
|
94
93
LL | /// [type@T::g]
95
94
| ^^^^^^^^^ help: to link to the associated function, add parentheses: `T::g()`
96
95
|
97
96
= note: this link resolves to the associated function `g`, which is not in the type namespace
98
97
99
98
error: unresolved link to `T::h`
100
- --> $DIR/intra-link-errors.rs:68 :6
99
+ --> $DIR/intra-link-errors.rs:67 :6
101
100
|
102
101
LL | /// [T::h!]
103
102
| ^^^^^
104
103
|
105
104
= note: no item named `T::h` is in scope
106
- = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
107
105
108
106
error: unresolved link to `S::h`
109
- --> $DIR/intra-link-errors.rs:55 :6
107
+ --> $DIR/intra-link-errors.rs:54 :6
110
108
|
111
109
LL | /// [type@S::h]
112
110
| ^^^^^^^^^ help: to link to the associated function, add parentheses: `S::h()`
113
111
|
114
112
= note: this link resolves to the associated function `h`, which is not in the type namespace
115
113
116
114
error: unresolved link to `m`
117
- --> $DIR/intra-link-errors.rs:76 :6
115
+ --> $DIR/intra-link-errors.rs:74 :6
118
116
|
119
117
LL | /// [m()]
120
118
| ^^^ help: to link to the macro, add an exclamation mark: `m!`
0 commit comments