summaryrefslogtreecommitdiff
path: root/tests/ui/type/ascription/issue-54516.fixed
blob: f78268894daeca174426b44f55538aa1945eebba (plain)
1
2
3
4
5
6
7
// run-rustfix
use std::collections::BTreeMap;

fn main() {
    println!("{}", std::mem::size_of::<BTreeMap<u32, u32>>());
    //~^ ERROR type ascription cannot be followed by a function call
}