-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Introduction of frontmatter was a theoretical breaking change (via Literal::from_str) #146132
Copy link
Copy link
Closed
Labels
A-proc-macrosArea: Procedural macrosArea: Procedural macrosC-bugCategory: This is a bug.Category: This is a bug.F-frontmatter`#![feature(frontmatter)]``#![feature(frontmatter)]`T-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.
Metadata
Metadata
Assignees
Labels
A-proc-macrosArea: Procedural macrosArea: Procedural macrosC-bugCategory: This is a bug.Category: This is a bug.F-frontmatter`#![feature(frontmatter)]``#![feature(frontmatter)]`T-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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
See also #145520 and #145945.
This is basically (the fixed) #145520 but with
TokenStreamreplaced withLiteralinside.parse().Reproducer
rustc a.rs --crate-type proc-macro --extern proc_macrowherea.rs:rustc b.rs --crate-type lib --extern a -L.whereb.rs:In 1.87 and earlier, this used to compile just fine. However, since 1.88 (more precisely since PR #140035) this fails with: