Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
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
()
{}