Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #![allow(unreachable_code)]
- fn main() {
- println!("{:?}", {
- F32::infinite() + (-F32::infinite())
- });
- }
- /* ~~~~=== stderr ===~~~~
- Compiling playground v0.0.1 (file:///playground)
- error[E0433]: failed to resolve. Use of undeclared type or module `F32`
- --> src/main.rs:6:9
- |
- 6 | F32::infinite() + (-F32::infinite())
- | ^^^ Use of undeclared type or module `F32`
- error[E0433]: failed to resolve. Use of undeclared type or module `F32`
- --> src/main.rs:6:29
- |
- 6 | F32::infinite() + (-F32::infinite())
- | ^^^ Use of undeclared type or module `F32`
- error: aborting due to 2 previous errors
- For more information about this error, try `rustc --explain E0433`.
- error: Could not compile `playground`.
- To learn more, run the command again with --verbose.
- */
- /* ~~~~=== stdout ===~~~~
- */
Add Comment
Please, Sign In to add comment