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