rust/tests/ui/issues/issue-47486.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
149 B
Rust
Raw Normal View History

2019-10-14 01:45:56 +00:00
fn main() {
() < std::mem::size_of::<_>(); //~ ERROR: mismatched types
[0u8; std::mem::size_of::<_>()]; //~ ERROR: type annotations needed
}