rust/tests/ui/frontmatter/hyphen-in-infostring-non-leading.rs
Ed Page f43f974b9e fix(lexer): Allow '-' in the infostring continue set
This more closely matches the RFC and what our T-lang contact has asked
for, see https://github.com/rust-lang/rust/issues/136889#issuecomment-3212715312
2025-08-22 09:26:19 -05:00

10 lines
157 B
Rust

--- Cargo-toml
---
// infostrings can contain hyphens as long as a hyphen isn't the first character.
//@ check-pass
#![feature(frontmatter)]
fn main() {}