rust/compiler/rustc_ast_lowering/src
Camille GILLOT ae126ad282 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.
2021-11-23 22:06:22 +01:00
..
asm.rs Add support for specifying multiple clobber_abi in asm! 2021-11-10 01:06:03 -05:00
block.rs Do not preallocate item HirIds. 2021-09-18 13:14:29 +02:00
expr.rs Simplify for loop desugar 2021-11-21 08:15:21 -06:00
index.rs Use SortedMap in HIR. 2021-10-21 23:08:57 +02:00
item.rs Do not visit attributes in ItemLowerer. 2021-11-23 22:06:22 +01:00
lib.rs Rollup merge of #90990 - nnethercote:arenas-cleanup, r=oli-obk 2021-11-19 13:06:38 +09:00
pat.rs ast_lowering: Introduce lower_span for catching all spans entering HIR 2021-08-29 10:49:40 +03:00
path.rs Do not store visibility in *ItemRef. 2021-09-20 00:29:53 +02:00