rust/compiler/rustc_index
Nicholas Nethercote 1fdabfbebb Avoid double-handling of attributes in collect_tokens.
By keeping track of attributes that have been previously processed.

This fixes the `macro-rules-derive-cfg.stdout` test, and is necessary
for #124141 which removes nonterminals.

Also shrink the `SmallVec` inline size used in `IntervalSet`. 2 gives
slightly better perf than 4 now that there's an `IntervalSet` in
`Parser`, which is cloned reasonably often.
2024-08-24 06:57:47 +10:00
..
src Avoid double-handling of attributes in collect_tokens. 2024-08-24 06:57:47 +10:00
Cargo.toml Use dep: for crate dependencies 2024-07-15 12:40:10 -04:00