You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling playground v0.0.1 (/playground)
warning: unused import: `std::fmt::Display`
--> src/main.rs:20:5
|
20 | use std::fmt::Display;
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
error[E0277]: `Option<{integer}>` doesn't implement `Debug`
--> src/main.rs:32:42
|
32 | println!("integer:{:?}, float:{:?}", integer, float);
| ^^^^^^^ `Option<{integer}>` cannot be formatted using `{:?}`
|
= help: the trait `Debug` is not implemented for `Option<{integer}>`
= note: add `#[derive(Debug)]` or manually implement `Debug`
= note: required by `std::fmt::Debug::fmt`
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: `Option<{float}>` doesn't implement `Debug`
--> src/main.rs:32:51
|
32 | println!("integer:{:?}, float:{:?}", integer, float);
| ^^^^^ `Option<{float}>` cannot be formatted using `{:?}`
|
= help: the trait `Debug` is not implemented for `Option<{float}>`
= note: add `#[derive(Debug)]` or manually implement `Debug`
= note: required by `std::fmt::Debug::fmt`
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to 2 previous errors; 1 warning emitted
For more information about this error, try `rustc --explain E0277`.
error: could not compile `playground`
To learn more, run the command again with --verbose.
The text was updated successfully, but these errors were encountered:
(Playground)
Errors:
The text was updated successfully, but these errors were encountered: