fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
243 B11 linesraw
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() {}