summaryrefslogtreecommitdiffstats
path: root/src/test/ui/missing-trait-bounds/issue-35677.fixed
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/missing-trait-bounds/issue-35677.fixed')
-rw-r--r--src/test/ui/missing-trait-bounds/issue-35677.fixed11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/missing-trait-bounds/issue-35677.fixed b/src/test/ui/missing-trait-bounds/issue-35677.fixed
deleted file mode 100644
index 08174d8d8..000000000
--- a/src/test/ui/missing-trait-bounds/issue-35677.fixed
+++ /dev/null
@@ -1,11 +0,0 @@
-// run-rustfix
-#![allow(dead_code)]
-use std::collections::HashSet;
-use std::hash::Hash;
-
-fn is_subset<T>(this: &HashSet<T>, other: &HashSet<T>) -> bool where T: Eq, T: Hash {
- this.is_subset(other)
- //~^ ERROR the method
-}
-
-fn main() {}