mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
5f6cb2c552
Do not visit attributes in `ItemLowerer`. By default, AST visitors visit expressions that appear in key-value attributes. Those expressions should not be lowered to HIR, as they do not correspond to actually compiled code. Since an attribute cannot produce meaningful HIR, just skip them altogether. Fixes https://github.com/rust-lang/rust/issues/81886 Fixes https://github.com/rust-lang/rust/issues/90873 r? `@michaelwoerister` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |