]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Auto merge of #88386 - estebank:unmatched-delims, r=jackh726
authorbors <bors@rust-lang.org>
Fri, 3 Sep 2021 03:13:18 +0000 (03:13 +0000)
committerbors <bors@rust-lang.org>
Fri, 3 Sep 2021 03:13:18 +0000 (03:13 +0000)
commit29d8fb746d3c7c0364f123e3efde90700b93aed3
treef2153fdee8716980ca96ffca229965c811d07664
parent97f2698484c2d668b2f356a6c2252e5f08472234
parentc6d800d85439d0a95a2943905d0fd3842fa4dd20
Auto merge of #88386 - estebank:unmatched-delims, r=jackh726

Point at unclosed delimiters as part of the primary MultiSpan

Both the place where the parser encounters a needed closed delimiter and
the unclosed opening delimiter are important, so they should get the
same level of highlighting in the output.

_Context: https://twitter.com/mwk4/status/1430631546432675840_
compiler/rustc_parse/src/parser/mod.rs