-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Open
Labels
A-attributesArea: Attributes (`#[…]`, `#![…]`)Area: Attributes (`#[…]`, `#![…]`)C-bugCategory: This is a bug.Category: This is a bug.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.T-langRelevant to the language teamRelevant to the language teamdisposition-closeThis PR / issue is in PFCP or FCP with a disposition to close it.This PR / issue is in PFCP or FCP with a disposition to close it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.relnotesMarks issues that should be documented in the release notes of the next release.Marks issues that should be documented in the release notes of the next release.to-announceAnnounce this issue on triage meetingAnnounce this issue on triage meeting
Milestone
Description
Regression found in the 1.95.0 beta crater run.
[INFO] [stdout] error[E0565]: malformed `feature` attribute input
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/assemble-core-0.2.0/src/unstable.rs:16:5
[INFO] [stdout] |
[INFO] [stdout] 16 | #[feature(feature = "text_factory")]
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------^^
[INFO] [stdout] | | |
[INFO] [stdout] | | didn't expect any arguments here
[INFO] [stdout] | help: must be of the form: `#[feature(feature1, feature2, ...)]`
[INFO] [stdout] error[E0539]: malformed `feature` attribute input
[INFO] [stdout] --> src/models/whisper/mod.rs:1:1
[INFO] [stdout] |
[INFO] [stdout] 1 | #![feature("whisper")]
[INFO] [stdout] | ^^^^^^^^^^^---------^^
[INFO] [stdout] | | |
[INFO] [stdout] | | expected a valid identifier here
[INFO] [stdout] | help: must be of the form: `#![feature(feature1, feature2, ...)]`
- https://crater-reports.s3.amazonaws.com/beta-1.95-1/beta-2026-03-05/gh/MikeIvanichev.norma/log.txt
- https://crater-reports.s3.amazonaws.com/beta-1.95-3/1.95.0-beta.3/reg/norma-0.0.3/log.txt
[INFO] [stdout] error[E0539]: malformed `feature` attribute input
[INFO] [stdout] --> src/lib.rs:4:1
[INFO] [stdout] |
[INFO] [stdout] 4 | #[feature("serde_feature")]
[INFO] [stdout] | ^^^^^^^^^^---------------^^
[INFO] [stdout] | | |
[INFO] [stdout] | | expected a valid identifier here
[INFO] [stdout] | help: must be of the form: `#[feature(feature1, feature2, ...)]`
[INFO] [stdout] error[E0539]: malformed `feature` attribute input
[INFO] [stdout] --> src/lib.rs:4:1
[INFO] [stdout] |
[INFO] [stdout] 4 | #[feature("proc_macro_lib2")]
[INFO] [stdout] | ^^^^^^^^^^-----------------^^
[INFO] [stdout] | | |
[INFO] [stdout] | | expected a valid identifier here
[INFO] [stdout] | help: must be of the form: `#[feature(feature1, feature2, ...)]`
In four out of the five affected crates, it seems like the authors of the code intended to write cfg(feature = "something"). In starlane-primitive-macros, it seems the author wrote #[feature(....)] when they meant #![feature(....)], with a !
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-attributesArea: Attributes (`#[…]`, `#![…]`)Area: Attributes (`#[…]`, `#![…]`)C-bugCategory: This is a bug.Category: This is a bug.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.T-langRelevant to the language teamRelevant to the language teamdisposition-closeThis PR / issue is in PFCP or FCP with a disposition to close it.This PR / issue is in PFCP or FCP with a disposition to close it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.relnotesMarks issues that should be documented in the release notes of the next release.Marks issues that should be documented in the release notes of the next release.to-announceAnnounce this issue on triage meetingAnnounce this issue on triage meeting
Type
Fields
Give feedbackNo fields configured for issues without a type.