Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-18119.rs
blob: e48dc51a2c6448e5634edc355f662f044cd67f84 [
file
] [
log
] [
blame
]
const
X
:
u8
=
1
;
static
Y
:
u8
=
1
;
fn
foo
()
{}
impl
X
{}
//~^ ERROR expected type, found constant `X`
impl
Y
{}
//~^ ERROR expected type, found static `Y`
impl
foo
{}
//~^ ERROR expected type, found function `foo`
fn
main
()
{}