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