Skip to content

Conversation

epage
Copy link
Contributor

@epage epage commented Aug 22, 2025

The RFC only limits hyphens at the beginning of lines and not if they are indented or embedded in other content.

Sticking to that approach was confirmed by the T-lang liason at #141367 (comment)

There is a regression in error message quality which I'm leaving for someone if they feel this needs improving.

Tracking issue: #136889

Fixes #141367

@epage epage added the F-frontmatter `#![feature(frontmatter)]` label Aug 22, 2025
@rustbot
Copy link
Collaborator

rustbot commented Aug 22, 2025

r? @SparrowLii

rustbot has assigned @SparrowLii.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 22, 2025
@epage epage mentioned this pull request Aug 22, 2025
14 tasks
@rustbot

This comment has been minimized.

…nces

The RFC only limits hyphens at the beginning of lines and not if they
are indented or embedded in other content.

Sticking to that approach was confirmed by the T-lang liason at
rust-lang#141367 (comment)

There is a regression in error message quality which I'm leaving for
someone if they feel this needs improving.
@rustbot
Copy link
Collaborator

rustbot commented Aug 28, 2025

This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

Copy link
Member

@SparrowLii SparrowLii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SparrowLii
Copy link
Member

@bors r+

@bors
Copy link
Collaborator

bors commented Sep 1, 2025

📌 Commit 142e25e has been approved by SparrowLii

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 1, 2025
bors added a commit that referenced this pull request Sep 1, 2025
Rollup of 5 pull requests

Successful merges:

 - #145468 (dedup recip, powi, to_degrees, and to_radians float tests)
 - #145643 (coverage: Build an "expansion tree" and use it to unexpand raw spans)
 - #145754 (fix(lexer): Don't require frontmatters to be escaped with indented fences)
 - #146060 (fixup nix dev shell again)
 - #146068 (compiletest: Capture panic messages via a custom panic hook)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 0972fd9 into rust-lang:master Sep 1, 2025
10 checks passed
@rustbot rustbot added this to the 1.91.0 milestone Sep 1, 2025
rust-timer added a commit that referenced this pull request Sep 1, 2025
Rollup merge of #145754 - epage:escape, r=SparrowLii

fix(lexer): Don't require frontmatters to be escaped with indented fences

The RFC only limits hyphens at the beginning of lines and not if they are indented or embedded in other content.

Sticking to that approach was confirmed by the T-lang liason at #141367 (comment)

There is a regression in error message quality which I'm leaving for someone if they feel this needs improving.

Tracking issue: #136889

Fixes #141367
@epage epage deleted the escape branch September 2, 2025 01:49
github-actions bot pushed a commit to model-checking/verify-rust-std that referenced this pull request Sep 9, 2025
Rollup of 5 pull requests

Successful merges:

 - rust-lang#145468 (dedup recip, powi, to_degrees, and to_radians float tests)
 - rust-lang#145643 (coverage: Build an "expansion tree" and use it to unexpand raw spans)
 - rust-lang#145754 (fix(lexer): Don't require frontmatters to be escaped with indented fences)
 - rust-lang#146060 (fixup nix dev shell again)
 - rust-lang#146068 (compiletest: Capture panic messages via a custom panic hook)

r? `@ghost`
`@rustbot` modify labels: rollup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

F-frontmatter `#![feature(frontmatter)]` S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature(frontmatter) rejects frontmatters with dashes with leading spaces

4 participants