summary refs log tree commit diff
path: root/src/test/ui/issues/issue-35677.rs
blob: 15d139790625efb3e5e5b6f8496f5a855e3bc5af (plain)
1
2
3
4
5
6
7
8
use std::collections::HashSet;

fn is_subset<T>(this: &HashSet<T>, other: &HashSet<T>) -> bool {
    this.is_subset(other)
    //~^ ERROR the method
}

fn main() {}