summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-7813.rs
blob: ce549bde60117544063eacde1f106617bb0964ad (plain)
1
2
3
4
fn main() {
    let v = &[]; //~ ERROR type annotations needed
    let it = v.iter();
}