summaryrefslogtreecommitdiffstats
path: root/tests/ui/type/type-check/cannot_infer_local_or_array.rs
blob: af7552523d6fca2d8547f17cca5ed5b2be29d319 (plain)
1
2
3
fn main() {
    let x = []; //~ ERROR type annotations needed
}