bors ff23e48c30 Auto merge of #108471 - clubby789:unbox-the-syntax, r=Nilstrieb,est31
Remove `box_syntax`

r? `@Nilstrieb`

This removes the feature `box_syntax`, which allows the use of `box <expr>` to create a Box, and finalises removing use of the feature from the compiler. `box_patterns` (allowing the use of `box <pat>` in a pattern) is unaffected.
It also removes `ast::ExprKind::Box` - the only way to create a 'box' expression now is with the rustc-internal `#[rustc_box]` attribute.
As a temporary measure to help users move away, `box <expr>` now parses the inner expression, and emits a `MachineApplicable` lint to replace it with `Box::new`

Closes #49733
2023-03-13 10:41:50 +00:00
..
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-06-16 18:00:32 +04:00
2023-03-08 14:40:38 +00:00
2023-03-08 14:40:38 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-09 13:07:21 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2023-03-08 14:40:38 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-06-16 18:00:32 +04:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-26 13:41:57 +02:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-06-16 18:00:32 +04:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00
2022-10-01 10:03:06 +00:00