about summary refs log tree commit diff
path: root/library/std/src/sys_common/tests.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-10-01 08:12:49 +0000
committerbors <bors@rust-lang.org>2024-10-01 08:12:49 +0000
commit21aa500bb050a6aca30d80b1eeb0cb4e1974d57d (patch)
tree3f8a0bd97774627738544920320c66a263577018 /library/std/src/sys_common/tests.rs
parent07f08ffb2dbc864d2127abedf7a5917b965c0a4b (diff)
parentc7cd55f7c5032c646db22f144dda2f04d8ee6009 (diff)
downloadrust-21aa500bb050a6aca30d80b1eeb0cb4e1974d57d.tar.gz
rust-21aa500bb050a6aca30d80b1eeb0cb4e1974d57d.zip
Auto merge of #129972 - eholk:stabilize-expr_2021, r=compiler-errors,traviscross
Stabilize expr_2021 fragment specifier in all editions

This is part of the `expr`/`expr_2021` fragment specifier for Edition 2024 (#123742). The RFC says we can support expr_2021 in as many editions as is practical, and there's nothing particularly hard about supporting it all the way back to 2015.

In editions 2021 and earlier, `expr` and `expr_2021` are synonyms. Their behavior diverges starting in Edition 2024. This is checked by the `expr_2021_inline_const.rs` test.

cc `@vincenzopalazzo` `@rust-lang/wg-macros` `@traviscross`
Diffstat (limited to 'library/std/src/sys_common/tests.rs')
0 files changed, 0 insertions, 0 deletions