1 error[E0599]: the method `is_subset` exists for reference `&HashSet<T>`, but its trait bounds were not satisfied
2 --> $DIR/issue-35677.rs:7:10
4 LL | this.is_subset(other)
5 | ^^^^^^^^^ method cannot be called on `&HashSet<T>` due to unsatisfied trait bounds
7 = note: the following trait bounds were not satisfied:
10 help: consider restricting the type parameters to satisfy the trait bounds
12 LL | fn is_subset<T>(this: &HashSet<T>, other: &HashSet<T>) -> bool where T: Eq, T: Hash {
13 | ++++++++++++++++++++
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0599`.