about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-12-20 12:01:30 +0000
committerbors <bors@rust-lang.org>2022-12-20 12:01:30 +0000
commitccbf8fef9be09ba6aa3cfc90132623a18a65f493 (patch)
tree12913fe3c5ce29c86ea21807d4fbab58b4735afe /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parentffedfc63a1936c65eb8ada3cb8df8edbc1f5f3ca (diff)
parente027ac0fbf8e9c523caa8158a22c2a5fd45859bf (diff)
downloadrust-ccbf8fef9be09ba6aa3cfc90132623a18a65f493.tar.gz
rust-ccbf8fef9be09ba6aa3cfc90132623a18a65f493.zip
Auto merge of #13800 - lowr:fix/mbe-expr-backwards-compat, r=Veykril
fix: don't let mbe expr fragments match let exprs and inline consts

Fixes #11729

`expr` fragment in mbe should not match let expressions and inline consts for backwards compatibility. See rust-lang/rust#86730 for details.

This patch is porting [this logic in rustc](https://github.com/rust-lang/rust/blob/f0c4da49983aa699f715caf681e3154b445fb60b/compiler/rustc_parse/src/parser/nonterminal.rs#L28-L34) (which is called [here in rustc's mbe engine](https://github.com/rust-lang/rust/blob/f0c4da49983aa699f715caf681e3154b445fb60b/compiler/rustc_expand/src/mbe/macro_parser.rs#L576)) to our mbe engine.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions