Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #![allow(unreachable_code)]
- fn main() {
- println!("{:?}", {
- 4u32.to_ne()
- });
- }
- /* ~~~~=== stderr ===~~~~
- Compiling playground v0.0.1 (/playground)
- error[E0599]: no method named `to_ne` found for type `u32` in the current scope
- --> src/main.rs:6:14
- |
- 6 | 4u32.to_ne()
- | ^^^^^
- |
- = help: did you mean `to_be`?
- error: aborting due to previous error
- For more information about this error, try `rustc --explain E0599`.
- error: Could not compile `playground`.
- To learn more, run the command again with --verbose.
- */
- /* ~~~~=== stdout ===~~~~
- */
Add Comment
Please, Sign In to add comment