summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/issue-104609.rs
blob: 01fd1c48cf803aec17d14a15309095b848f93ff6 (plain)
1
2
3
4
5
6
7
8
9
10
fn foo() {
    oops;
    //~^ ERROR: cannot find value `oops` in this scope
}

unsafe fn bar() {
    std::mem::transmute::<_, *mut _>(1_u8);
}

fn main() {}