This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
39c05b4b65
rust
/
src
/
test
/
compile-fail
/
index_message.rs
6 lines
103 B
Rust
Raw
Normal View
History
Unescape
Escape
Fix a test I messed up.
2012-06-20 19:07:54 -05:00
// error-pattern:cannot index a value of type `()`
Call the correct type formatting function for more typecheck diagnostics. Closes #2652.
2012-06-20 17:44:37 -05:00
fn
main
(
)
{
let
z
=
(
)
;
Fix a test I messed up.
2012-06-20 19:07:54 -05:00
log
(
error
,
z
[
0
]
)
;
Call the correct type formatting function for more typecheck diagnostics. Closes #2652.
2012-06-20 17:44:37 -05:00
}
Reference in New Issue
Copy Permalink