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
2db4259b35
rust
/
src
/
test
/
compile-fail
/
nonscalar-cast.rs
6 lines
79 B
Rust
Raw
Normal View
History
Unescape
Escape
Add tests for the 'as' (cast) operator
2011-10-27 11:14:13 -05:00
// error-pattern:non-scalar cast
fn
main
(
)
{
Register new snapshots, purge log_err and log_full in favour of log(...).
2011-12-22 19:53:53 -06:00
log
(
debug
,
{
x
:
1
}
as
int
)
;
Add tests for the 'as' (cast) operator
2011-10-27 11:14:13 -05:00
}
Reference in New Issue
Copy Permalink