Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #![allow(unreachable_code)]
- #![feature(float_to_from_bytes)]
- fn main() {
- println!("{:?}", {
- 32.3f32.to_be_bytes()
- });
- }
- /* ~~~~=== stderr ===~~~~
- Compiling playground v0.0.1 (/playground)
- error[E0554]: `#![feature]` may not be used on the stable release channel
- --> src/main.rs:2:1
- |
- 2 | #![feature(float_to_from_bytes)]
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- error: aborting due to previous error
- For more information about this error, try `rustc --explain E0554`.
- error: Could not compile `playground`.
- To learn more, run the command again with --verbose.
- */
- /* ~~~~=== stdout ===~~~~
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement