summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2024-07-20 07:18:09 -0500
committerTrevor Gross <tmgross@umich.edu>2024-07-27 05:33:24 -0400
commit8c402f125ccb3d8ccbabef40694482d481fc28b8 (patch)
tree76836c170f1e6faabbb4ea3c5eb8cc42ee52a902 /compiler/rustc_hir_analysis/src
parenta526d7ce45fd2284e0e7c7556ccba2425b9d25e5 (diff)
downloadrust-8c402f125ccb3d8ccbabef40694482d481fc28b8.tar.gz
rust-8c402f125ccb3d8ccbabef40694482d481fc28b8.zip
Make `missing_fragment_specifier` an error in edition 2024
`missing_fragment_specifier` has been a future compatibility warning
since 2017. Uplifting it to an unconditional hard error was attempted in
2020, but eventually reverted due to fallout.

Make it an error only in edition >= 2024, leaving the lint for older
editions. This change will make it easier to support more macro syntax
that relies on usage of `$`.

Fixes <https://github.com/rust-lang/rust/issues/40107>
Diffstat (limited to 'compiler/rustc_hir_analysis/src')
0 files changed, 0 insertions, 0 deletions