Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn main() {
- println!("{:?}", {
- let x: Result<f32_> = "0x123".parse(); x
- });
- }
- /* ~~~~=== stderr ===~~~~
- Compiling playground v0.0.1 (file:///playground)
- error[E0412]: cannot find type `f32_` in this scope
- --> src/main.rs:5:23
- |
- 5 | let x: Result<f32_> = "0x123".parse(); x
- | ^^^^ did you mean `f32`?
- error[E0243]: wrong number of type arguments: expected 2, found 1
- --> src/main.rs:5:16
- |
- 5 | let x: Result<f32_> = "0x123".parse(); x
- | ^^^^^^^^^^^^ expected 2 type arguments
- error: aborting due to 2 previous errors
- Some errors occurred: E0243, E0412.
- For more information about an error, try `rustc --explain E0243`.
- error: Could not compile `playground`.
- To learn more, run the command again with --verbose.
- */
- /* ~~~~=== stdout ===~~~~
- */
Add Comment
Please, Sign In to add comment