about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-01-23 06:27:21 +0000
committerbors <bors@rust-lang.org>2021-01-23 06:27:21 +0000
commit1986b58c646a9523d0a8a0fa8a0bd20492e7795d (patch)
tree4fbb2a16a834aad3b18a2a07b445c6ee8d8f3d29 /compiler/rustc_interface/src
parentfe0fa59b50313b30e3bfcf1e3e5e1a71fa3a849d (diff)
parent3ba6cf13f42250c1d0d3bab206e37e93df0582c4 (diff)
downloadrust-1986b58c646a9523d0a8a0fa8a0bd20492e7795d.tar.gz
rust-1986b58c646a9523d0a8a0fa8a0bd20492e7795d.zip
Auto merge of #80065 - b-naber:parse-angle-arg-diagnostics, r=petrochenkov
Improve diagnostics when parsing angle args

https://github.com/rust-lang/rust/pull/79266 introduced parsing of generic arguments in associated type constraints, this however resulted in possibly very confusing error messages in cases in which closing angle brackets were missing such as in `Vec<(u32, _, _) = vec![]`, which outputs an incorrectly parsed equality constraint error, as noted by `@cynecx.`

This PR tries to provide better error messages in such cases.

r? `@petrochenkov`
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions