rust/compiler/rustc_ast_lowering/src
Samuel Tardieu 6ee87ae594 Use the same span for attributes and Try expansion of ?
This is needed for Clippy to know that the `#[allow(unused)]` attributes
added by the expansion of `?` are part of the desugaring, and that they
do not come from the user code.

rust-lang/rust-clippy#13380 exhibits a manifestation of this problem.
2024-09-11 21:42:32 +02:00
..
asm.rs disallow naked_asm! outside of #[naked] functions 2024-09-10 15:19:14 +02:00
block.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
delegation.rs chore: Fix typos in 'compiler' (batch 1) 2024-09-02 07:42:38 +02:00
errors.rs Rollup merge of #126013 - nnethercote:unreachable_pub, r=Urgau 2024-08-27 00:41:57 +02:00
expr.rs Use the same span for attributes and Try expansion of ? 2024-09-11 21:42:32 +02:00
format.rs fmt-debug option 2024-08-28 23:32:40 +01:00
index.rs Add ConstArgKind::Path and make ConstArg its own HIR node 2024-07-16 19:27:28 -07:00
item.rs Rollup merge of #129626 - compiler-errors:explicit-named, r=fmease 2024-08-27 00:42:02 +02:00
lib.rs Rollup merge of #129493 - cjgillot:early-opaque-def, r=petrochenkov 2024-09-01 03:58:04 +02:00
lifetime_collector.rs Implement elided_named_lifetimes lint 2024-08-31 15:35:41 +03:00
pat.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
path.rs Rename ParenthesizedGenericArgs to GenericArgsMode 2024-08-26 16:48:13 -04:00