rust/src/test/ui/issues/issue-35677.rs

9 lines
170 B
Rust
Raw Normal View History

use std::collections::HashSet;
fn is_subset<T>(this: &HashSet<T>, other: &HashSet<T>) -> bool {
this.is_subset(other)
2018-12-12 17:58:27 -06:00
//~^ ERROR no method named
}
fn main() {}