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