rust/compiler/rustc_ast_lowering/src
Matthias Krüger c9c9283c6a
Rollup merge of #108516 - clubby789:rustc-box-restrict, r=compiler-errors
Restrict `#[rustc_box]` to `Box::new` calls

Currently, `#[rustc_box]` can be applied to any call expression with a single argument. This PR only allows it to be applied to calls to `Box::new`
2023-03-02 07:24:00 +01:00
..
asm.rs Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
block.rs rustc_ast_lowering: remove ref patterns 2022-11-22 18:49:29 +00:00
errors.rs Restrict #[rustc_box] to Box::new calls 2023-03-02 02:42:19 +00:00
expr.rs Restrict #[rustc_box] to Box::new calls 2023-03-02 02:42:19 +00:00
format.rs Add ErrorGuaranteed to HIR ExprKind::Err 2023-02-25 19:46:36 +00:00
index.rs Take a LocalDefId in hir::Visitor::visit_fn. 2023-01-28 09:51:50 +00:00
item.rs Only look for param in generics if it actually comes from generics 2023-02-28 06:27:56 +00:00
lib.rs Only look for param in generics if it actually comes from generics 2023-02-28 06:27:56 +00:00
lifetime_collector.rs Rename Rptr to Ref in AST and HIR 2022-12-28 18:52:36 +01:00
pat.rs Add ErrorGuaranteed to HIR ExprKind::Err 2023-02-25 19:46:36 +00:00
path.rs Add help for #![feature(impl_trait_in_fn_trait_return)] 2022-12-06 17:53:50 -08:00