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