This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
300901b70509a0af2d971aa6f6104300da24212c
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 New Issue
Copy Permalink