Sign in
fuchsia
/
third_party
/
rust
/
3c2fd1a72d2e8cc80b354b4d2dd7931a7afe1b02
/
.
/
src
/
test
/
ui
/
consts
/
const-tup-index-span.rs
blob: 047ed0204b156031a1201c6ea38271951af224c6 [
file
] [
log
] [
blame
]
// Test spans of errors
const
TUP
:
(
usize
,)
=
5usize
<<
64
;
//~^ ERROR mismatched types
//~| expected tuple, found usize
const
ARR
:
[
i32
;
TUP
.
0
]
=
[];
//~^ ERROR evaluation of constant value failed
fn
main
()
{
}