This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Issues
Pull requests
Activity
5b51a8ef4f
rust
/
tests
/
ui
/
index_message.rs
5 lines
97 B
Rust
Raw
Normal View
History
Unescape
Escape
Call the correct type formatting function for more typecheck diagnostics. Closes #2652.
2012-06-20 15:44:37 -07:00
fn
main
(
)
{
let
z
=
(
)
;
Add E0608
2017-06-09 19:05:14 +02:00
let
_
=
z
[
0
]
;
//~ ERROR cannot index into a value of type `()`
Call the correct type formatting function for more typecheck diagnostics. Closes #2652.
2012-06-20 15:44:37 -07:00
}
Reference in a new issue
Copy permalink