Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
consts
/
const-eval
/
pub_const_err_bin.rs
blob: 078e4c896df80ec3e257d61d7f548e556770c81b [
file
] [
log
] [
blame
]
// 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
()
{}