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