mirror of
https://git.proxmox.com/git/rustc
synced 2025-05-28 11:44:52 +00:00
12 lines
222 B
Rust
12 lines
222 B
Rust
// run-rustfix
|
|
#![allow(dead_code)]
|
|
use std::collections::HashSet;
|
|
use std::hash::Hash;
|
|
|
|
fn is_subset<T>(this: &HashSet<T>, other: &HashSet<T>) -> bool {
|
|
this.is_subset(other)
|
|
//~^ ERROR the method
|
|
}
|
|
|
|
fn main() {}
|