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
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the module `intra_link_errors` contains no item named `path`
6
6
|
7
7
note: the lint level is defined here
8
- --> $DIR/intra-link-errors.rs:2 :9
8
+ --> $DIR/intra-link-errors.rs:1 :9
9
9
|
10
10
LL | #![deny(broken_intra_doc_links)]
11
11
| ^^^^^^^^^^^^^^^^^^^^^^
12
12
13
13
error: unresolved link to `path::to::nonexistent::macro`
14
- --> $DIR/intra-link-errors.rs:12 :6
14
+ --> $DIR/intra-link-errors.rs:11 :6
15
15
|
16
16
LL | /// [path::to::nonexistent::macro!]
17
17
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the module `intra_link_errors` contains no item named `path`
18
18
19
19
error: unresolved link to `path::to::nonexistent::type`
20
- --> $DIR/intra-link-errors.rs:16 :6
20
+ --> $DIR/intra-link-errors.rs:15 :6
21
21
|
22
22
LL | /// [type@path::to::nonexistent::type]
23
23
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the module `intra_link_errors` contains no item named `path`
24
24
25
25
error: unresolved link to `std::io::not::here`
26
- --> $DIR/intra-link-errors.rs:20 :6
26
+ --> $DIR/intra-link-errors.rs:19 :6
27
27
|
28
28
LL | /// [std::io::not::here]
29
29
| ^^^^^^^^^^^^^^^^^^ the module `io` contains no item named `not`
30
30
31
31
error: unresolved link to `std::io::not::here`
32
- --> $DIR/intra-link-errors.rs:24 :6
32
+ --> $DIR/intra-link-errors.rs:23 :6
33
33
|
34
34
LL | /// [type@std::io::not::here]
35
35
| ^^^^^^^^^^^^^^^^^^^^^^^ the module `io` contains no item named `not`
36
36
37
37
error: unresolved link to `std::io::Error::x`
38
- --> $DIR/intra-link-errors.rs:28 :6
38
+ --> $DIR/intra-link-errors.rs:27 :6
39
39
|
40
40
LL | /// [std::io::Error::x]
41
41
| ^^^^^^^^^^^^^^^^^ the struct `Error` has no field or associated item named `x`
42
42
43
43
error: unresolved link to `std::io::ErrorKind::x`
44
- --> $DIR/intra-link-errors.rs:32 :6
44
+ --> $DIR/intra-link-errors.rs:31 :6
45
45
|
46
46
LL | /// [std::io::ErrorKind::x]
47
47
| ^^^^^^^^^^^^^^^^^^^^^ the enum `ErrorKind` has no variant or associated item named `x`
48
48
49
49
error: unresolved link to `f::A`
50
- --> $DIR/intra-link-errors.rs:36 :6
50
+ --> $DIR/intra-link-errors.rs:35 :6
51
51
|
52
52
LL | /// [f::A]
53
53
| ^^^^ `f` is a function, not a module or type, and cannot have associated items
54
54
55
55
error: unresolved link to `f::A`
56
- --> $DIR/intra-link-errors.rs:40 :6
56
+ --> $DIR/intra-link-errors.rs:39 :6
57
57
|
58
58
LL | /// [f::A!]
59
59
| ^^^^^ `f` is a function, not a module or type, and cannot have associated items
60
60
61
61
error: unresolved link to `S::A`
62
- --> $DIR/intra-link-errors.rs:44 :6
62
+ --> $DIR/intra-link-errors.rs:43 :6
63
63
|
64
64
LL | /// [S::A]
65
65
| ^^^^ the struct `S` has no field or associated item named `A`
66
66
67
67
error: unresolved link to `S::fmt`
68
- --> $DIR/intra-link-errors.rs:48 :6
68
+ --> $DIR/intra-link-errors.rs:47 :6
69
69
|
70
70
LL | /// [S::fmt]
71
71
| ^^^^^^ the struct `S` has no field or associated item named `fmt`
72
72
73
73
error: unresolved link to `E::D`
74
- --> $DIR/intra-link-errors.rs:52 :6
74
+ --> $DIR/intra-link-errors.rs:51 :6
75
75
|
76
76
LL | /// [E::D]
77
77
| ^^^^ the enum `E` has no variant or associated item named `D`
78
78
79
79
error: unresolved link to `u8::not_found`
80
- --> $DIR/intra-link-errors.rs:56 :6
80
+ --> $DIR/intra-link-errors.rs:55 :6
81
81
|
82
82
LL | /// [u8::not_found]
83
83
| ^^^^^^^^^^^^^ the builtin type `u8` has no associated item named `not_found`
84
84
85
85
error: unresolved link to `std::primitive::u8::not_found`
86
- --> $DIR/intra-link-errors.rs:60 :6
86
+ --> $DIR/intra-link-errors.rs:59 :6
87
87
|
88
88
LL | /// [std::primitive::u8::not_found]
89
89
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the builtin type `u8` has no associated item named `not_found`
90
90
91
91
error: unresolved link to `Vec::into_iter`
92
- --> $DIR/intra-link-errors.rs:64 :6
92
+ --> $DIR/intra-link-errors.rs:63 :6
93
93
|
94
94
LL | /// [type@Vec::into_iter]
95
95
| ^^^^^^^^^^^^^^^^^^^
@@ -98,7 +98,7 @@ LL | /// [type@Vec::into_iter]
98
98
| help: to link to the associated function, add parentheses: `Vec::into_iter()`
99
99
100
100
error: unresolved link to `S`
101
- --> $DIR/intra-link-errors.rs:69 :6
101
+ --> $DIR/intra-link-errors.rs:68 :6
102
102
|
103
103
LL | /// [S!]
104
104
| ^^
@@ -107,7 +107,7 @@ LL | /// [S!]
107
107
| help: to link to the struct, prefix with `struct@`: `struct@S`
108
108
109
109
error: unresolved link to `T::g`
110
- --> $DIR/intra-link-errors.rs:87 :6
110
+ --> $DIR/intra-link-errors.rs:86 :6
111
111
|
112
112
LL | /// [type@T::g]
113
113
| ^^^^^^^^^
@@ -116,13 +116,13 @@ LL | /// [type@T::g]
116
116
| help: to link to the associated function, add parentheses: `T::g()`
117
117
118
118
error: unresolved link to `T::h`
119
- --> $DIR/intra-link-errors.rs:92 :6
119
+ --> $DIR/intra-link-errors.rs:91 :6
120
120
|
121
121
LL | /// [T::h!]
122
122
| ^^^^^ the trait `T` has no macro named `h`
123
123
124
124
error: unresolved link to `S::h`
125
- --> $DIR/intra-link-errors.rs:79 :6
125
+ --> $DIR/intra-link-errors.rs:78 :6
126
126
|
127
127
LL | /// [type@S::h]
128
128
| ^^^^^^^^^
@@ -131,7 +131,7 @@ LL | /// [type@S::h]
131
131
| help: to link to the associated function, add parentheses: `S::h()`
132
132
133
133
error: unresolved link to `m`
134
- --> $DIR/intra-link-errors.rs:99 :6
134
+ --> $DIR/intra-link-errors.rs:98 :6
135
135
|
136
136
LL | /// [m()]
137
137
| ^^^
0 commit comments