2018-07-10 00:13:47 -05:00
|
|
|
error[E0422]: cannot find struct, variant or union type `Drain` in this scope
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-52202-use-suggestions.rs:11:14
|
2018-07-10 00:13:47 -05:00
|
|
|
|
|
|
|
|
LL | let _d = Drain {};
|
|
|
|
| ^^^^^ not found in this scope
|
2019-10-24 00:20:58 -05:00
|
|
|
|
|
2020-05-04 17:12:06 -05:00
|
|
|
help: consider importing one of these items
|
2018-07-10 00:13:47 -05:00
|
|
|
|
|
|
|
|
LL | use crate::plumbing::Drain;
|
|
|
|
|
|
|
|
|
LL | use std::collections::binary_heap::Drain;
|
|
|
|
|
|
|
|
|
LL | use std::collections::hash_map::Drain;
|
|
|
|
|
|
|
|
|
LL | use std::collections::hash_set::Drain;
|
|
|
|
|
|
2019-10-13 23:48:39 -05:00
|
|
|
and 3 other candidates
|
2018-07-10 00:13:47 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0422`.
|