We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
default
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
The following compiles on nightly with specialization enabled, but rust-analyzer flags the default keyword as an error.
specialization
#![cfg(feature(min_specialization)] #![cfg(feature(specialization)] trait Foo { const BAR: i32; } impl Foo for () { default const BAR: i32 = 1; }
Related:
#1402 #1415
The text was updated successfully, but these errors were encountered:
Merge #4737
e66c7b3
4737: Parse default unsafe & default const r=matklad a=Avi-D-coder Closes: #4718 #4264 Co-authored-by: Avi Dessauer <[email protected]>
fixed some time ago
Sorry, something went wrong.
Merge pull request rust-lang#4264 from RalfJung/rustup
311ef02
Rustup
No branches or pull requests
The following compiles on nightly with
specialization
enabled, but rust-analyzer flags thedefault
keyword as an error.Related:
#1402
#1415
The text was updated successfully, but these errors were encountered: