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
0b653ab953
rust
/
src
/
test
/
compile-fail
/
index_message.rs
5 lines
96 B
Rust
Raw
Normal View
History
Unescape
Escape
Call the correct type formatting function for more typecheck diagnostics. Closes #2652.
2012-06-20 17:44:37 -05:00
fn
main
(
)
{
let
z
=
(
)
;
Change error to debug IMO this is a better workaround than using the old-style error-pattern: syntax :-)
2012-06-20 20:50:13 -05:00
log
(
debug
,
z
[
0
]
)
;
//! ERROR 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
}
Reference in New Issue
Copy Permalink