summary refs log tree commit diff
path: root/src/test/ui/issues/issue-35677.rs
blob: ba2d503d7fcf1269659b6d8d47b6f7f8e2a7c0d9 (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 no method named
}

fn main() {}