Sign in
rust
/
rust
/
97b1c314892ef4497c0ce5656daa3a54c4e052d3
/
.
/
tests
/
ui
/
error-codes
/
E0435.rs
blob: f370b2d7cc2c6497ff46e0c8815e46674aa00d6f [
file
]
//@ run-rustfix
fn
main
()
{
#[
allow
(
non_upper_case_globals
)]
let
foo
:
usize
=
42
;
let
_
:
[
u8
;
foo
];
//~ ERROR E0435
}