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