about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-12-28 16:22:20 +0000
committerGitHub <noreply@github.com>2021-12-28 16:22:20 +0000
commit355a4bdb883ee9edc1c32b553fcf91c302b3df19 (patch)
treee0fc3236e0472c44f5a9f02bcc9f8418de374708 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parent4d3ad04a9c84ac70c15465c1124c4d4dbef3b772 (diff)
parentea96c376c85e02ec86df5ff6522754395ad819e9 (diff)
downloadrust-355a4bdb883ee9edc1c32b553fcf91c302b3df19.tar.gz
rust-355a4bdb883ee9edc1c32b553fcf91c302b3df19.zip
Merge #11134
11134: internal: tighten up parser API r=matklad a=matklad

It's tempting to expose things like `Expr::parse`, 
but they'll necessary have somewhat ad-hoc semantics. 

Instead, we narrow down the parser's interface strictly 
to what's needed for MBE. For everything else (eg, parsing
imports), the proper way is enclose the input string into 
some context, parse the whole as a file, and then verify 
that the input was parsed as intended.

bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions