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