]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-35677.stderr
New upstream version 1.34.2+dfsg1
[rustc.git] / src / test / ui / issues / issue-35677.stderr
index 61ddb75b3b52c3a8203e191594bd3232c10d7004..99d99db93f3e3f3db027c0f4b4dfa8e86c33608b 100644 (file)
@@ -1,12 +1,12 @@
-error[E0599]: no method named `drain` found for type `&mut std::collections::HashMap<K, V>` in the current scope
-  --> $DIR/issue-35677.rs:3:10
+error[E0599]: no method named `is_subset` found for type `&std::collections::HashSet<T>` in the current scope
+  --> $DIR/issue-35677.rs:4:10
    |
-LL |     this.drain()
-   |          ^^^^^
+LL |     this.is_subset(other)
+   |          ^^^^^^^^^
    |
-   = note: the method `drain` exists but the following trait bounds were not satisfied:
-           `K : std::cmp::Eq`
-           `K : std::hash::Hash`
+   = note: the method `is_subset` exists but the following trait bounds were not satisfied:
+           `T : std::cmp::Eq`
+           `T : std::hash::Hash`
 
 error: aborting due to previous error