summaryrefslogtreecommitdiffstats
path: root/src/test/ui/methods/issues/issue-84495.rs
blob: 28c094bf2acd5e3cd9fce09ddb90790eb77d1c1d (plain)
1
2
3
4
fn main() {
    let x: i32 = 1;
    println!("{:?}", x.count()); //~ ERROR is not an iterator
}