-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Labels
A-CLIArea: Command-line interface (CLI) to the compilerArea: Command-line interface (CLI) to the compilerC-bugCategory: This is a bug.Category: This is a bug.F-frontmatter`#![feature(frontmatter)]``#![feature(frontmatter)]`P-mediumMedium priorityMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.Performance or correctness regression from one stable version to another.
Description
The following invocation works since 1.88 (or PR #140035):
rustc /dev/null --crate-type lib --cfg '---
---
key'
while it shouldn't because unstable feature frontmatter
isn't enabled anywhere.
For context, in 1.87, it yielded the following error:
error: invalid `--cfg` argument: `---
---
key` (expected `key` or `key="value"`)
The same applies to --check-cfg
.
theemathas and Noratrieb
Metadata
Metadata
Assignees
Labels
A-CLIArea: Command-line interface (CLI) to the compilerArea: Command-line interface (CLI) to the compilerC-bugCategory: This is a bug.Category: This is a bug.F-frontmatter`#![feature(frontmatter)]``#![feature(frontmatter)]`P-mediumMedium priorityMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.Performance or correctness regression from one stable version to another.