diff options
| author | bors <bors@rust-lang.org> | 2022-12-20 12:01:30 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-12-20 12:01:30 +0000 |
| commit | ccbf8fef9be09ba6aa3cfc90132623a18a65f493 (patch) | |
| tree | 12913fe3c5ce29c86ea21807d4fbab58b4735afe /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | ffedfc63a1936c65eb8ada3cb8df8edbc1f5f3ca (diff) | |
| parent | e027ac0fbf8e9c523caa8158a22c2a5fd45859bf (diff) | |
| download | rust-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
