about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorEd Page <eopage@gmail.com>2025-08-28 15:15:41 -0500
committerEd Page <eopage@gmail.com>2025-09-01 20:51:39 -0500
commit6f0da976c5f422ff5b1124d409e7d7e063fc4225 (patch)
treefd78a411df7eb377af1978a1e8aa41c99009cbf7 /compiler/rustc_codegen_llvm/src/errors.rs
parent428e413414e0719a7758676ac49e07b85eb86dec (diff)
downloadrust-6f0da976c5f422ff5b1124d409e7d7e063fc4225.tar.gz
rust-6f0da976c5f422ff5b1124d409e7d7e063fc4225.zip
fix(lexer): Only allow horizontal whitespace in frontmatter
In writing up the reference for frontmatter, I realized that we probably
shouldn't be accepting Unicode Line Ending characters between the code
fence and infostring or trailing after the infostring or a code fence.

In digging into the unicode specification we use for Whitespace, it
divides it up into categories, so I'm deferring to what it says for
horizontal whitespace for what should be used within a line.

Note, I am leaving out support for Unicde Default Ignorable characters.
I figure that can be discussed outside of this change within the
reference and tracking issue.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions