5 Commits

Author SHA1 Message Date
Ed Page
5b4d0cfad8 fix(frontmatter): Add more visible context to errors 2025-09-16 11:38:03 -05:00
Ed Page
b6326d3255 fix(frontmatter): Have too few error match too many on close 2025-09-16 11:10:32 -05:00
Ed Page
1865ef6834 fix(frontmatter): Try alternative len code fences
Of the non-ideal error cases mentioned in #15939, this is likely the one
people will hit the most and so important for us to improve.
2025-09-11 15:59:11 -05:00
Ed Page
90b68c87f4 fix(manifest): Show error source to users
Several parts of this are not ideal yet
- Frontmatter close should show the open and show the EOF, instead of
  pointing at the open
- Trailing content on close will usually have a newline
- Multiple frontmatters should show the original frontmatter
- Some content, like supported infostrings, should go in a help
- Ideally we try to recover on no closing and instead point out a
  mismatched open/close

But this is still an improvement over nothing!
2025-09-08 16:06:29 -05:00
Ed Page
57c97cc190 test(script): Switch frontmatter tests to end-to-end
This will make it easier to validate error improvements I'm working on
as well as make it easier to update from rust-lang/rust
2025-08-29 16:11:59 -05:00