summary refs log tree commit diff
path: root/src/test/ui/issues/issue-35677.rs
blob: 71e2125ffd2ccc7d992f8f8797721480882286e8 (plain)
1
2
3
4
5
6
7
use std::collections::HashMap;
fn intersect_map<K, V>(this: &mut HashMap<K, V>, other: HashMap<K, V>) -> bool {
    this.drain()
    //~^ ERROR no method named
}

fn main() {}