]> git.lizzy.rs Git - rust.git/blob - src/test/ui/no-implicit-prelude-nested.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / no-implicit-prelude-nested.stderr
1 error[E0405]: cannot find trait `Add` in this scope
2   --> $DIR/no-implicit-prelude-nested.rs:11:14
3    |
4 LL |         impl Add for Test {} //~ ERROR cannot find trait `Add` in this scope
5    |              ^^^ not found in this scope
6 help: possible candidate is found in another module, you can import it into scope
7    |
8 LL |         use std::ops::Add;
9    |
10
11 error[E0405]: cannot find trait `Clone` in this scope
12   --> $DIR/no-implicit-prelude-nested.rs:12:14
13    |
14 LL |         impl Clone for Test {} //~ ERROR cannot find trait `Clone` in this scope
15    |              ^^^^^ not found in this scope
16 help: possible candidates are found in other modules, you can import them into scope
17    |
18 LL |         use std::clone::Clone;
19    |
20 LL |         use std::prelude::v1::Clone;
21    |
22
23 error[E0405]: cannot find trait `Iterator` in this scope
24   --> $DIR/no-implicit-prelude-nested.rs:13:14
25    |
26 LL |         impl Iterator for Test {} //~ ERROR cannot find trait `Iterator` in this scope
27    |              ^^^^^^^^ not found in this scope
28 help: possible candidates are found in other modules, you can import them into scope
29    |
30 LL |         use std::iter::Iterator;
31    |
32 LL |         use std::prelude::v1::Iterator;
33    |
34
35 error[E0405]: cannot find trait `ToString` in this scope
36   --> $DIR/no-implicit-prelude-nested.rs:14:14
37    |
38 LL |         impl ToString for Test {} //~ ERROR cannot find trait `ToString` in this scope
39    |              ^^^^^^^^ not found in this scope
40 help: possible candidates are found in other modules, you can import them into scope
41    |
42 LL |         use std::prelude::v1::ToString;
43    |
44 LL |         use std::string::ToString;
45    |
46
47 error[E0405]: cannot find trait `Writer` in this scope
48   --> $DIR/no-implicit-prelude-nested.rs:15:14
49    |
50 LL |         impl Writer for Test {} //~ ERROR cannot find trait `Writer` in this scope
51    |              ^^^^^^ not found in this scope
52
53 error[E0425]: cannot find function `drop` in this scope
54   --> $DIR/no-implicit-prelude-nested.rs:18:13
55    |
56 LL |             drop(2) //~ ERROR cannot find function `drop` in this scope
57    |             ^^^^ not found in this scope
58 help: possible candidates are found in other modules, you can import them into scope
59    |
60 LL |         use std::mem::drop;
61    |
62 LL |         use std::prelude::v1::drop;
63    |
64
65 error[E0405]: cannot find trait `Add` in this scope
66   --> $DIR/no-implicit-prelude-nested.rs:23:10
67    |
68 LL |     impl Add for Test {} //~ ERROR cannot find trait `Add` in this scope
69    |          ^^^ not found in this scope
70 help: possible candidate is found in another module, you can import it into scope
71    |
72 LL |     use std::ops::Add;
73    |
74
75 error[E0405]: cannot find trait `Clone` in this scope
76   --> $DIR/no-implicit-prelude-nested.rs:24:10
77    |
78 LL |     impl Clone for Test {} //~ ERROR cannot find trait `Clone` in this scope
79    |          ^^^^^ not found in this scope
80 help: possible candidates are found in other modules, you can import them into scope
81    |
82 LL |     use std::clone::Clone;
83    |
84 LL |     use std::prelude::v1::Clone;
85    |
86
87 error[E0405]: cannot find trait `Iterator` in this scope
88   --> $DIR/no-implicit-prelude-nested.rs:25:10
89    |
90 LL |     impl Iterator for Test {} //~ ERROR cannot find trait `Iterator` in this scope
91    |          ^^^^^^^^ not found in this scope
92 help: possible candidates are found in other modules, you can import them into scope
93    |
94 LL |     use std::iter::Iterator;
95    |
96 LL |     use std::prelude::v1::Iterator;
97    |
98
99 error[E0405]: cannot find trait `ToString` in this scope
100   --> $DIR/no-implicit-prelude-nested.rs:26:10
101    |
102 LL |     impl ToString for Test {} //~ ERROR cannot find trait `ToString` in this scope
103    |          ^^^^^^^^ not found in this scope
104 help: possible candidates are found in other modules, you can import them into scope
105    |
106 LL |     use std::prelude::v1::ToString;
107    |
108 LL |     use std::string::ToString;
109    |
110
111 error[E0405]: cannot find trait `Writer` in this scope
112   --> $DIR/no-implicit-prelude-nested.rs:27:10
113    |
114 LL |     impl Writer for Test {} //~ ERROR cannot find trait `Writer` in this scope
115    |          ^^^^^^ not found in this scope
116
117 error[E0425]: cannot find function `drop` in this scope
118   --> $DIR/no-implicit-prelude-nested.rs:30:9
119    |
120 LL |         drop(2) //~ ERROR cannot find function `drop` in this scope
121    |         ^^^^ not found in this scope
122 help: possible candidates are found in other modules, you can import them into scope
123    |
124 LL |     use std::mem::drop;
125    |
126 LL |     use std::prelude::v1::drop;
127    |
128
129 error[E0405]: cannot find trait `Add` in this scope
130   --> $DIR/no-implicit-prelude-nested.rs:38:14
131    |
132 LL |         impl Add for Test {} //~ ERROR cannot find trait `Add` in this scope
133    |              ^^^ not found in this scope
134 help: possible candidate is found in another module, you can import it into scope
135    |
136 LL |         use std::ops::Add;
137    |
138
139 error[E0405]: cannot find trait `Clone` in this scope
140   --> $DIR/no-implicit-prelude-nested.rs:39:14
141    |
142 LL |         impl Clone for Test {} //~ ERROR cannot find trait `Clone` in this scope
143    |              ^^^^^ not found in this scope
144 help: possible candidates are found in other modules, you can import them into scope
145    |
146 LL |         use std::clone::Clone;
147    |
148 LL |         use std::prelude::v1::Clone;
149    |
150
151 error[E0405]: cannot find trait `Iterator` in this scope
152   --> $DIR/no-implicit-prelude-nested.rs:40:14
153    |
154 LL |         impl Iterator for Test {} //~ ERROR cannot find trait `Iterator` in this scope
155    |              ^^^^^^^^ not found in this scope
156 help: possible candidates are found in other modules, you can import them into scope
157    |
158 LL |         use std::iter::Iterator;
159    |
160 LL |         use std::prelude::v1::Iterator;
161    |
162
163 error[E0405]: cannot find trait `ToString` in this scope
164   --> $DIR/no-implicit-prelude-nested.rs:41:14
165    |
166 LL |         impl ToString for Test {} //~ ERROR cannot find trait `ToString` in this scope
167    |              ^^^^^^^^ not found in this scope
168 help: possible candidates are found in other modules, you can import them into scope
169    |
170 LL |         use std::prelude::v1::ToString;
171    |
172 LL |         use std::string::ToString;
173    |
174
175 error[E0405]: cannot find trait `Writer` in this scope
176   --> $DIR/no-implicit-prelude-nested.rs:42:14
177    |
178 LL |         impl Writer for Test {} //~ ERROR cannot find trait `Writer` in this scope
179    |              ^^^^^^ not found in this scope
180
181 error[E0425]: cannot find function `drop` in this scope
182   --> $DIR/no-implicit-prelude-nested.rs:45:13
183    |
184 LL |             drop(2) //~ ERROR cannot find function `drop` in this scope
185    |             ^^^^ not found in this scope
186 help: possible candidates are found in other modules, you can import them into scope
187    |
188 LL |         use std::mem::drop;
189    |
190 LL |         use std::prelude::v1::drop;
191    |
192
193 error: aborting due to 18 previous errors
194
195 Some errors occurred: E0405, E0425.
196 For more information about an error, try `rustc --explain E0405`.