Sign in
fuchsia
/
third_party
/
rust
/
03222c037142e915e9ea75f681ab98a5a46b8739
/
.
/
src
/
test
/
ui
/
consts
/
const-eval
/
pub_const_err_bin.rs
blob: 7f1586336e72192f74ca2091c3f0a4cb9e6921c8 [
file
] [
log
] [
blame
]
// build-pass (FIXME(62277): could be check-pass?)
#![
warn
(
const_err
)]
pub
const
Z
:
u32
=
0
-
1
;
//~^ WARN any use of this value will cause an error
pub
type
Foo
=
[
i32
;
0
-
1
];
fn
main
()
{}