summaryrefslogtreecommitdiffstats
path: root/src/test/ui/tuple/index-invalid.rs
blob: d36f6cfe3df7fd72697007e1934207680b08ee47 (plain)
1
2
3
4
5
6
7
fn main() {
    let _ = (((),),).1.0; //~ ERROR no field `1` on type `(((),),)`

    let _ = (((),),).0.1; //~ ERROR no field `1` on type `((),)`

    let _ = (((),),).000.000; //~ ERROR no field `000` on type `(((),),)`
}