]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unsafe/unsafe-block-without-braces.rs
Auto merge of #84589 - In-line:zircon-thread-name, r=JohnTitor
[rust.git] / src / test / ui / unsafe / unsafe-block-without-braces.rs
1 fn main() {
2     unsafe //{
3         std::mem::transmute::<f32, u32>(1.0);
4     //}
5 }
6 //~^^^ ERROR expected `{`, found `std`