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
编译时报错:
a@hansen seeker % sudo cargo build --release
error[E0658]: deriving Default on enums is experimental
--> config/src/rule.rs:17:68
|
17 | #[derive(Eq, PartialEq, Copy, Clone, Debug, Hash, PartialOrd, Ord, Default)]
| ^^^^^^^
|
= note: see issue #86985 rust-lang/rust#86985 for more information
= note: this error originates in the derive macro Default (in Nightly builds, run with -Z macro-backtrace for more info)
For more information about this error, try rustc --explain E0658.
error: could not compile config due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed
a@hansen seeker % rustc --explain E0658
a@hansen seeker % cargo version
cargo 1.60.0 (d1fd9fe2c 2022-03-01)
The text was updated successfully, but these errors were encountered:
编译时报错:
a@hansen seeker % sudo cargo build --release
error[E0658]: deriving
Default
on enums is experimental--> config/src/rule.rs:17:68
|
17 | #[derive(Eq, PartialEq, Copy, Clone, Debug, Hash, PartialOrd, Ord, Default)]
| ^^^^^^^
|
= note: see issue #86985 rust-lang/rust#86985 for more information
= note: this error originates in the derive macro
Default
(in Nightly builds, run with -Z macro-backtrace for more info)For more information about this error, try
rustc --explain E0658
.error: could not compile
config
due to previous errorwarning: build failed, waiting for other jobs to finish...
error: build failed
a@hansen seeker % rustc --explain E0658
a@hansen seeker % cargo version
cargo 1.60.0 (d1fd9fe2c 2022-03-01)
The text was updated successfully, but these errors were encountered: