Sign in
chromium
/
external
/
github.com
/
rust-lang
/
rust
/
refs/heads/try
/
.
/
tests
/
ui
/
cast
/
issue-17444.rs
blob: 906b443c9fab86602fe0bceae29033b0e0b77d5b [
file
] [
log
] [
blame
] [
edit
]
enum
Test
{
Foo
=
0
}
fn
main
()
{
let
_x
=
Test
::
Foo
as
*
const
isize
;
//~^ ERROR casting `Test` as `*const isize` is invalid
}