summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-19692.rs
blob: 99eccc8a8175ca2d7f7705980a700461c76af7dc (plain)
1
2
3
4
5
6
7
8
struct Homura;

fn akemi(homura: Homura) {
    let Some(ref madoka) = Some(homura.kaname()); //~ ERROR no method named `kaname` found
    madoka.clone();
}

fn main() { }