summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-47486.rs
blob: d686f02a9fe39ee5574120431afcbd2382f0b5c0 (plain)
1
2
3
4
fn main() {
    () < std::mem::size_of::<_>(); //~ ERROR: mismatched types
    [0u8; std::mem::size_of::<_>()]; //~ ERROR: type annotations needed
}