summary refs log tree commit diff
path: root/src/test/ui/resolve/issue-19452.rs
blob: 5c58cabb3cdd8eff3681d547feb764e32c6ce22b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// aux-build:issue_19452_aux.rs
extern crate issue_19452_aux;

enum Homura {
    Madoka { age: u32 }
}

fn main() {
    let homura = Homura::Madoka;
    //~^ ERROR expected value, found struct variant `Homura::Madoka`

    let homura = issue_19452_aux::Homura::Madoka;
    //~^ ERROR expected value, found struct variant `issue_19452_aux::Homura::Madoka`
}