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
b2832008e2
rust
/
tests
/
fail
/
validity
/
invalid_bool.rs
4 lines
103 B
Rust
Raw
Normal View
History
Unescape
Escape
don't use `#[miri_run]` anymore, but execute the `main` function
2016-06-13 07:27:05 -05:00
fn
main
(
)
{
Add a custom ui test runner and move all tests to it
2022-03-17 08:49:10 -05:00
let
_b
=
unsafe
{
std
::
mem
::
transmute
::
<
u8
,
bool
>
(
2
)
}
;
//~ ERROR expected a boolean
don't use `#[miri_run]` anymore, but execute the `main` function
2016-06-13 07:27:05 -05:00
}
Reference in New Issue
Copy Permalink