blob: 9ee83b409c16f3f0e6daeb8762a97a41b6039c57 [file] [log] [blame] [edit]
fn foo() {
oops;
//~^ ERROR: cannot find value `oops` in this scope
}
unsafe fn bar() {
std::mem::transmute::<_, *mut _>(1_u8);
//~^ ERROR: type annotations needed
}
fn main() {}