]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-35677.stderr
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-35677.stderr
1 error[E0601]: `main` function not found in crate `issue_35677`
2    |
3    = note: consider adding a `main` function to `$DIR/issue-35677.rs`
4
5 error[E0599]: no method named `drain` found for type `&mut std::collections::HashMap<K, V>` in the current scope
6   --> $DIR/issue-35677.rs:3:10
7    |
8 LL |     this.drain()
9    |          ^^^^^
10    |
11    = note: the method `drain` exists but the following trait bounds were not satisfied:
12            `K : std::cmp::Eq`
13            `K : std::hash::Hash`
14
15 error: aborting due to 2 previous errors
16
17 Some errors occurred: E0599, E0601.
18 For more information about an error, try `rustc --explain E0599`.