rust/tests/ui/frontmatter
Ed Page 142e25e356 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.
2025-08-28 14:08:33 -05:00
..
auxiliary ignore frontmatters in TokenStream::new 2025-08-18 20:28:29 +08:00
dot-in-infostring-leading.rs
dot-in-infostring-leading.stderr
dot-in-infostring-non-leading.rs
escape.rs
extra-after-end.rs
extra-after-end.stderr
frontmatter-after-tokens.rs
frontmatter-after-tokens.stderr
frontmatter-inner-hyphens-1.rs
frontmatter-inner-hyphens-2.rs
frontmatter-non-lexible-tokens.rs
frontmatter-whitespace-1.rs fix(lexer): Don't require frontmatters to be escaped with indented fences 2025-08-28 14:08:33 -05:00
frontmatter-whitespace-1.stderr fix(lexer): Don't require frontmatters to be escaped with indented fences 2025-08-28 14:08:33 -05:00
frontmatter-whitespace-2.rs fix(lexer): Don't require frontmatters to be escaped with indented fences 2025-08-28 14:08:33 -05:00
frontmatter-whitespace-2.stderr fix(lexer): Don't require frontmatters to be escaped with indented fences 2025-08-28 14:08:33 -05:00
frontmatter-whitespace-3.rs
frontmatter-whitespace-4.rs
hyphen-in-infostring-leading.rs test(frontmatter): Show current hyphen behavior 2025-08-22 09:17:41 -05:00
hyphen-in-infostring-leading.stderr test(frontmatter): Show current hyphen behavior 2025-08-22 09:17:41 -05:00
hyphen-in-infostring-non-leading.rs fix(lexer): Allow '-' in the infostring continue set 2025-08-22 09:26:19 -05:00
included-frontmatter.rs
infostring-fail.rs
infostring-fail.stderr
mismatch-1.rs
mismatch-1.stderr
mismatch-2.rs
mismatch-2.stderr
multifrontmatter-2.rs fix(lexer): Don't require frontmatters to be escaped with indented fences 2025-08-28 14:08:33 -05:00
multifrontmatter.rs
multifrontmatter.stderr
proc-macro-observer.rs ignore frontmatters in TokenStream::new 2025-08-18 20:28:29 +08:00
shebang.rs
unclosed-1.rs
unclosed-1.stderr
unclosed-2.rs
unclosed-2.stderr
unclosed-3.rs
unclosed-3.stderr
unclosed-4.rs
unclosed-4.stderr
unclosed-5.rs
unclosed-5.stderr