Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
f97c37f8ae9a3bb9eed2d2fa812c01ac78b460fb
/
.
/
src
/
test
/
ui
/
issues
/
issue-17933.rs
blob: 6da4e6e15284bcc44f9c3e9a74463af3358e2524 [
file
] [
log
] [
blame
]
pub
static
X
:
usize
=
1
;
fn
main
()
{
match
1
{
self
::
X
=>
{
},
//~^ ERROR expected unit struct, unit variant or constant, found static `self::X`
_
=>
{
},
}
}