Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
consts
/
const-tup-index-span.rs
blob: 778a212249c19d68aa0b944ac89ca36d78f250ba [
file
] [
log
] [
blame
]
// Test spans of errors
const
TUP
:
(
usize
,)
=
5usize
<<
64
;
//~^ ERROR mismatched types
//~| expected tuple, found `usize`
const
ARR
:
[
i32
;
TUP
.
0
]
=
[];
//~^ constant
fn
main
()
{
}