fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
626 B21 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
6   |
7help: possible candidates are found in other modules, you can import them into scope
8   |
9LL | use crate::plumbing::Drain;
10   |
11LL | use std::collections::binary_heap::Drain;
12   |
13LL | use std::collections::hash_map::Drain;
14   |
15LL | use std::collections::hash_set::Drain;
16   |
17     and 3 other candidates
18
19error: aborting due to previous error
20
21For more information about this error, try `rustc --explain E0422`.