rust/tests/ui/frontmatter
Ed Page 52d4ef12a8 fix(parser): Disallow CR in frontmatter
T-lang came back on the stabilization PR 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)
2026-01-28 13:01:02 -06:00
..
auxiliary Strip frontmatter in fewer places 2025-09-09 19:49:40 +02:00
content-contains-whitespace.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
content-cr.rs fix(parser): Disallow CR in frontmatter 2026-01-28 13:01:02 -06:00
content-cr.stderr fix(parser): Disallow CR in frontmatter 2026-01-28 13:01:02 -06:00
content-non-lexible-tokens.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
escape-hyphens-leading.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
escape-hyphens-nonleading-1.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
escape-hyphens-nonleading-2.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
escape-hyphens-nonleading-3.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
fence-close-extra-after.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
fence-close-extra-after.stderr test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
fence-indented-mismatch.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
fence-indented-mismatch.stderr test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
fence-indented.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
fence-indented.stderr test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
fence-mismatch-1.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
fence-mismatch-1.stderr test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
fence-mismatch-2.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
fence-mismatch-2.stderr test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
fence-too-many-dashes.rs fix(parse): Limit frontmatter fences to 255 dashes 2025-11-26 14:09:18 -06:00
fence-too-many-dashes.stderr fix(parse): Limit frontmatter fences to 255 dashes 2025-11-26 14:09:18 -06:00
fence-unclosed-1.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
fence-unclosed-1.stderr test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
fence-unclosed-2.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
fence-unclosed-2.stderr test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
fence-unclosed-3.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
fence-unclosed-3.stderr test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
fence-unclosed-4.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
fence-unclosed-4.stderr test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
fence-unclosed-5.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
fence-unclosed-5.stderr test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
fence-unclosed-6.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
fence-unclosed-6.stderr test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
fence-whitespace-trailing-1.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
fence-whitespace-trailing-2.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
frontmatter-crlf.rs test(lexer): Ensure frontmatter w/ crlf works 2025-09-01 20:51:30 -05:00
infostring-comma.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
infostring-comma.stderr test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
infostring-dot-leading.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
infostring-dot-leading.stderr test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
infostring-dot-nonleading.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
infostring-hyphen-leading.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
infostring-hyphen-leading.stderr test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
infostring-hyphen-nonleading.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
infostring-space.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
infostring-space.stderr test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
location-after-shebang.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
location-after-tokens.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
location-after-tokens.stderr test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
location-include-in-expr-ctxt.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
location-include-in-item-ctxt.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
location-proc-macro-observer.rs test(frontmatter): Rename tests to make coverage more obvious 2025-10-24 10:51:21 -05:00
multifrontmatter.rs Implement RFC 3503: frontmatters 2025-05-05 23:10:08 +08:00
multifrontmatter.stderr Implement RFC 3503: frontmatters 2025-05-05 23:10:08 +08:00