-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enums chapter from the Guide contains incorrect example code #17675
Comments
As the guide says, this enum is provided by Rust, and so you're not supposed to define it. |
For what it's worth, I stumbled upon this issue as well while learning Rust. I tried an example with my own Enum and the error given by the compiler lead me here. |
same here, although this works:
|
lnicola
pushed a commit
to lnicola/rust
that referenced
this issue
Jul 28, 2024
…mmands-config, r=lnicola Remove lens.forceCustomCommands config Closes rust-lang/rust-analyzer#17643 A very simple PR that removes the lens.forceCustomCommands config feature without side effects.
RalfJung
pushed a commit
to RalfJung/rust
that referenced
this issue
Aug 1, 2024
…mmands-config, r=lnicola Remove lens.forceCustomCommands config Closes rust-lang/rust-analyzer#17643 A very simple PR that removes the lens.forceCustomCommands config feature without side effects.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently it is:
This does not compile:
Required modifications:
The text was updated successfully, but these errors were encountered: