1
Fork 0
rust/compiler/rustc_parse/src
Nicholas Nethercote 3d750e2702 Shrink parser positions from usize to u32.
The number of source code bytes can't exceed a `u32`'s range, so a token
position also can't. This reduces the size of `Parser` and
`LazyAttrTokenStreamImpl` by eight bytes each.
2024-07-02 17:03:53 +10:00
..
lexer Use a dedicated type instead of a reference for the diagnostic context 2024-06-18 15:42:11 +00:00
parser Shrink parser positions from usize to u32. 2024-07-02 17:03:53 +10:00
errors.rs Add hard error and migration lint for unsafe attrs 2024-06-23 19:02:14 -05:00
lib.rs Prefer dcx methods over fields or fields' methods 2024-06-18 13:45:08 +00:00
validate_attr.rs coverage: Tighten validation of #[coverage(off)] and #[coverage(on)] 2024-06-24 20:15:01 +10:00