mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-04 11:04:03 +00:00
b9b2546417
This allows us to avoid synthesizing tokens in `prepend_attr`, since we have the original tokens available. We still need to synthesize tokens when expanding `cfg_attr`, but this is an unavoidable consequence of the syntax of `cfg_attr` - the user does not supply the `#` and `[]` tokens that a `cfg_attr` expands to. |
||
---|---|---|
.. | ||
ast | ||
attr | ||
expand | ||
util | ||
ast.rs | ||
crate_disambiguator.rs | ||
entry.rs | ||
lib.rs | ||
mut_visit.rs | ||
node_id.rs | ||
ptr.rs | ||
token.rs | ||
tokenstream.rs | ||
visit.rs |