]> git.proxmox.com Git - rustc.git/blob - src/test/ui/type/ascription/issue-54516.rs
New upstream version 1.43.0+dfsg1
[rustc.git] / src / test / ui / type / ascription / issue-54516.rs
1 use std::collections::BTreeMap;
2
3 fn main() {
4 println!("{}", std::mem:size_of::<BTreeMap<u32, u32>>());
5 //~^ ERROR casts cannot be followed by a function call
6 //~| ERROR expected value, found module `std::mem` [E0423]
7 //~| ERROR cannot find type `size_of` in this scope [E0412]
8 }