fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
616 B20 linesraw
1error[E0422]: cannot find struct, variant or union type `Drain` in this scope
2  --> $DIR/issue-52202-use-suggestions.rs:11:14
3   |
4LL |     let _d = Drain {};
5   |              ^^^^^ not found in this scope
6help: possible candidates are found in other modules, you can import them into scope
7   |
8LL | use crate::plumbing::Drain;
9   |
10LL | use std::collections::binary_heap::Drain;
11   |
12LL | use std::collections::hash_map::Drain;
13   |
14LL | use std::collections::hash_set::Drain;
15   |
16and 3 other candidates
17
18error: aborting due to previous error
19
20For more information about this error, try `rustc --explain E0422`.