]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/issue-104609.rs
Rollup merge of #106951 - tmiasko:rm-simplify-initial, r=oli-obk
[rust.git] / tests / ui / consts / issue-104609.rs
1 fn foo() {
2     oops;
3     //~^ ERROR: cannot find value `oops` in this scope
4 }
5
6 unsafe fn bar() {
7     std::mem::transmute::<_, *mut _>(1_u8);
8 }
9
10 fn main() {}