Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try
/
.
/
tests
/
ui
/
issues
/
issue-27008.rs
blob: 20aa4f282c7e6a983457095f0c1596567bdd01e3 [
file
] [
log
] [
blame
]
struct
S
;
fn
main
()
{
let
b
=
[
0
;
S
];
//~^ ERROR mismatched types
//~| NOTE expected `usize`, found `S`
}