Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

error[E0658]: deriving Default on enums is experimental #2

Closed
miaomiao1992 opened this issue Nov 26, 2022 · 2 comments
Closed

error[E0658]: deriving Default on enums is experimental #2

miaomiao1992 opened this issue Nov 26, 2022 · 2 comments

Comments

@miaomiao1992
Copy link

#Rust stable MSVC 1.57

error[E0658]: deriving Default on enums is experimental
--> src\frame_buffer.rs:18:10
|
18 | #[derive(Default, Clone, PartialEq, Copy)]
| ^^^^^^^
|
= 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)

@flo-at
Copy link
Owner

flo-at commented Nov 26, 2022

Thanks for the report. According to the stabilization PR this feature is stable since Rust 1.62. Can you update your Rust and check again, please? It seems to be pretty outdated.

@miaomiao1992
Copy link
Author

Thanks for the report. According to the stabilization PR this feature is stable since Rust 1.62. Can you update your Rust and check again, please? It seems to be pretty outdated.

thanks, now the issue is solved.

@flo-at flo-at closed this as completed Nov 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants