rust/compiler/rustc_mir_build
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
..
locales Restrict #[rustc_box] to Box::new calls 2023-03-02 02:42:19 +00:00
src Rollup merge of #108516 - clubby789:rustc-box-restrict, r=compiler-errors 2023-03-02 07:24:00 +01:00
Cargo.toml remove unused imports 2023-02-06 17:40:18 +03:00