2021-10-13 16:07:22 +00:00
|
|
|
// run-rustfix
|
|
|
|
#![allow(dead_code)]
|
2019-02-11 11:58:56 +01:00
|
|
|
use std::collections::HashSet;
|
2021-10-13 16:07:22 +00:00
|
|
|
use std::hash::Hash;
|
2019-02-11 11:58:56 +01:00
|
|
|
|
|
|
|
fn is_subset<T>(this: &HashSet<T>, other: &HashSet<T>) -> bool {
|
|
|
|
this.is_subset(other)
|
2020-09-26 17:20:14 -04:00
|
|
|
//~^ ERROR the method
|
2018-12-12 15:58:27 -08:00
|
|
|
}
|
2018-12-16 20:23:27 +03:00
|
|
|
|
|
|
|
fn main() {}
|