Sign in
rust
/
rust-lang
/
rust
/
refs/heads/beta
/
.
/
tests
/
ui
/
consts
/
issue-104609.rs
blob: 9ee83b409c16f3f0e6daeb8762a97a41b6039c57 [
file
] [
log
] [
blame
]
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
()
{}