summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0610.rs
blob: de246f3712e4044dbb824c154b6b845f9ba40b53 (plain)
1
2
3
4
fn main() {
    let x = 0;
    let _ = x.foo; //~ ERROR E0610
}