rust/compiler/rustc_parse
Stuart Cook b6ce0c0028
Rollup merge of #149823 - epage:f, r=Kivooeo
fix(parser): Disallow CR in frontmatter

T-lang came back on the stabilization PR (rust-lang/rust#148051) asking for CR to be disallowed
to leave room for all stray CRs to be rejected in the future.
At that point, the test can remain but the implementation can be
removed.

If that plan does not go through, we'll need to re-evaluate
- whether this is more lint-like and should defer to the calling tool
  that is managing the frontmatter
- how much Rust should treat the frontmatter as Rust and apply the same
  grammar restrictions of "no stray CR" (like raw string literals)

Part of rust-lang/rust#136889
2026-01-29 22:34:09 +11:00
..
src Rollup merge of #149823 - epage:f, r=Kivooeo 2026-01-29 22:34:09 +11:00
Cargo.toml Update literal-escaper version to 0.0.7 2026-01-08 14:10:33 +01:00
messages.ftl fix(parser): Disallow CR in frontmatter 2026-01-28 13:01:02 -06:00