mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 12:36:35 +03:00
0972fd9d41
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 https://github.com/rust-lang/rust/issues/141367#issuecomment-3202217544 There is a regression in error message quality which I'm leaving for someone if they feel this needs improving. Tracking issue: rust-lang/rust#136889 Fixes rust-lang/rust#141367