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.
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
rust-analyzer version: rust-analyzer version: 0.3.2070-standalone [/home/user/.vscode-oss/extensions/rust-lang.rust-analyzer-0.3.2070-linux-x64/server/rust-analyzer]
rustc version: rustc 1.80.1 (3f5fd8dd4 2024-08-06)
editor or extension: VSCode, [email protected]
code snippet to reproduce:
Literally just create a blank project and copy-paste the following in Cargo.toml:
[features] foo = { enables = [] }
It should work according to this RFC.
But instead it produces this error:
2024-08-17T18:58:44.397863Z ERROR Flycheck failed to run the following command: CommandHandle { program: "/home/user/.cargo/bin/cargo", arguments: ["check", "--workspace", "--message-format=json-diagnostic-rendered-ansi", "--manifest-path", "/home/user/src/nice/Cargo.toml", "--keep-going", "--all-targets"], current_dir: Some("/home/user/src/nice") }, error=Cargo watcher failed, the command produced no valid metadata (exit code: ExitStatus(unix_wait_status(25856))): error: invalid type: map, expected a sequence --> Cargo.toml:10:7 | 10 | foo = { enables = [] } | ^^^^^^^^^^^^^^^^ |
The text was updated successfully, but these errors were encountered:
Is that really implemented? cargo check seems to reject it.
cargo check
Just because an RFC is accepted, it doesn't mean it's implemented and stabilized.
Sorry, something went wrong.
oh! yeah makes sense. I realized it's not implemented.
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
rust-analyzer version:
rust-analyzer version: 0.3.2070-standalone [/home/user/.vscode-oss/extensions/rust-lang.rust-analyzer-0.3.2070-linux-x64/server/rust-analyzer]
rustc version:
rustc 1.80.1 (3f5fd8dd4 2024-08-06)
editor or extension:
VSCode, [email protected]
code snippet to reproduce:
Literally just create a blank project and copy-paste the following in Cargo.toml:
It should work according to this RFC.
But instead it produces this error:
The text was updated successfully, but these errors were encountered: