]> git.proxmox.com Git - rustc.git/blame - src/test/ui/unsafe/unsafe-block-without-braces.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / unsafe / unsafe-block-without-braces.stderr
CommitLineData
0531ce1d 1error: expected one of `extern`, `fn`, or `{`, found `std`
0731742a 2 --> $DIR/unsafe-block-without-braces.rs:3:9
0531ce1d
XL
3 |
4LL | unsafe //{
60c5eb7d 5 | - expected one of `extern`, `fn`, or `{`
0531ce1d
XL
6LL | std::mem::transmute::<f32, u32>(1.0);
7 | ^^^ unexpected token
8
9error: aborting due to previous error
10