fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1// run-rustfix 2#![allow(dead_code)] 3use std::collections::HashSet; 4use std::hash::Hash; 5 6fn is_subset<T>(this: &HashSet<T>, other: &HashSet<T>) -> bool where T: Eq, T: Hash { 7 this.is_subset(other) 8 //~^ ERROR the method 9} 10 11fn main() {}