rust/compiler
bors 1986b58c64 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`
2021-01-23 06:27:21 +00:00
..
rustc
rustc_apfloat
rustc_arena
rustc_ast Refactor token collection to capture trailing token immediately 2021-01-22 00:33:03 -05:00
rustc_ast_lowering Add loop head span to hir 2021-01-21 21:41:46 -08:00
rustc_ast_passes Use Option::map_or instead of .map(..).unwrap_or(..) 2021-01-14 19:23:59 +01:00
rustc_ast_pretty ast: Remove some indirection layers from values in key-value attributes 2021-01-09 21:50:39 +03:00
rustc_attr
rustc_builtin_macros Force token collection to run when parsing nonterminals 2021-01-20 18:09:32 -05:00
rustc_codegen_cranelift codegen_cranelift: Fix redundant semicolon warn 2021-01-16 07:17:13 +03:00
rustc_codegen_llvm Rollup merge of #81095 - LingMan:unwrap, r=oli-obk 2021-01-17 12:24:59 +00:00
rustc_codegen_ssa Auto merge of #81118 - ojeda:metadata-obj, r=nagisa 2021-01-20 07:15:40 +00:00
rustc_data_structures Add track_caller to .steal() 2021-01-17 12:27:20 -05:00
rustc_driver Rollup merge of #80944 - LingMan:map_or, r=nagisa 2021-01-15 18:26:14 +09:00
rustc_error_codes Rollup merge of #80614 - 1000teslas:issue-78938-fix, r=tmandry 2021-01-16 17:29:49 +00:00
rustc_errors Use Option::map_or instead of .map(..).unwrap_or(..) 2021-01-14 19:23:59 +01:00
rustc_expand Force token collection to run when parsing nonterminals 2021-01-20 18:09:32 -05:00
rustc_feature Feature-gate pointer and reference in intra-doc links 2021-01-17 15:27:35 -05:00
rustc_fs_util Optimize away a fs::metadata call. 2021-01-06 08:33:15 -08:00
rustc_graphviz remove redundant closures (clippy::redundant_closure) 2021-01-03 13:34:24 +01:00
rustc_hir Add loop head span to hir 2021-01-21 21:41:46 -08:00
rustc_hir_pretty Add loop head span to hir 2021-01-21 21:41:46 -08:00
rustc_incremental Auto merge of #80957 - tgnottingham:direct_serialize_depgraph, r=michaelwoerister 2021-01-19 19:36:41 +00:00
rustc_index
rustc_infer Add suggestion for impl_candidates with E0283 2021-01-18 21:57:15 +09:00
rustc_interface Remove DepKind::CrateMetadata and pre-allocation of DepNodes 2021-01-12 11:22:57 -08:00
rustc_lexer Return EOF_CHAR constant instead of magic char. 2021-01-07 13:20:04 +01:00
rustc_lint Rollup merge of #81236 - estebank:everybody-loop-now, r=oli-obk 2021-01-22 14:30:19 +00:00
rustc_lint_defs Don't mark ineffective_unstable_trait_impl as an internal lint 2021-01-15 17:31:10 -05:00
rustc_llvm Use probe-stack=inline-asm in LLVM 11+ 2021-01-14 22:49:16 -05:00
rustc_macros Use Option::map_or instead of .map(..).unwrap_or(..) 2021-01-14 19:23:59 +01:00
rustc_metadata Impl EncodableWithShorthand for PredicateKind 2021-01-17 02:49:30 -05:00
rustc_middle Auto merge of #81101 - tmiasko:combine-now, r=nagisa 2021-01-22 13:10:48 +00:00
rustc_mir Auto merge of #81101 - tmiasko:combine-now, r=nagisa 2021-01-22 13:10:48 +00:00
rustc_mir_build Add loop head span to hir 2021-01-21 21:41:46 -08:00
rustc_parse Auto merge of #80065 - b-naber:parse-angle-arg-diagnostics, r=petrochenkov 2021-01-23 06:27:21 +00:00
rustc_parse_format rustc_parse_format: Fix character indices in find_skips 2021-01-17 17:40:58 +03:00
rustc_passes Do not suggest using a break label when one is already present 2021-01-21 21:43:29 -08:00
rustc_plugin_impl
rustc_privacy Review changes 2021-01-16 18:56:37 -05:00
rustc_query_system Auto merge of #80957 - tgnottingham:direct_serialize_depgraph, r=michaelwoerister 2021-01-19 19:36:41 +00:00
rustc_resolve Fix clippy and comment 2021-01-21 21:43:28 -08:00
rustc_save_analysis Use Option::map_or instead of .map(..).unwrap_or(..) 2021-01-14 19:23:59 +01:00
rustc_serialize rustc_serialize: fix incorrect signed LEB128 decoding 2021-01-11 12:13:26 -08:00
rustc_session Auto merge of #81118 - ojeda:metadata-obj, r=nagisa 2021-01-20 07:15:40 +00:00
rustc_span Feature-gate pointer and reference in intra-doc links 2021-01-17 15:27:35 -05:00
rustc_symbol_mangling Rollup merge of #79968 - bjorn3:better_drop_glue_debuginfo, r=matthewjasper 2021-01-10 16:55:55 +09:00
rustc_target Rollup merge of #80662 - rxrbln:master, r=estebank 2021-01-13 03:20:15 +01:00
rustc_trait_selection Add suggestion for impl_candidates with E0283 2021-01-18 21:57:15 +09:00
rustc_traits Review changes 2021-01-16 18:56:37 -05:00
rustc_ty_utils Review changes 2021-01-16 18:56:37 -05:00
rustc_type_ir
rustc_typeck Rollup merge of #81236 - estebank:everybody-loop-now, r=oli-obk 2021-01-22 14:30:19 +00:00