rust/src/test
Dylan DPC e9db0613ac
Rollup merge of #69180 - Aaron1011:feature/comma-struct-init, r=petrochenkov
Suggest a comma if a struct initializer field fails to parse

Currently, we emit a "try adding a comma" suggestion if a comma is
missing in a struct definition. However, we emit no such suggestion if a
comma is missing in a struct initializer.

This commit adds a "try adding a comma" suggestion when we don't find a
comma during the parsing of a struct initializer field.

The change to `src/test/ui/parser/removed-syntax-with-1.stderr` isn't
great, but I don't see a good way of avoiding it.
2020-02-15 09:45:49 +01:00
..
assembly
auxiliary Auto merge of #68452 - msizanoen1:riscv-abi, r=nagisa,eddyb 2020-02-08 18:10:48 +00:00
codegen Add support for new pass manager 2020-02-12 15:34:16 +01:00
codegen-units Make drop-glue take advantage of -Zshare-generics. 2020-01-23 13:15:15 +01:00
compile-fail Diagnostics should not end with a full stop 2020-01-12 15:37:50 +00:00
debuginfo rustc_codegen_ssa: only "spill" SSA-like values to the stack for debuginfo. 2020-02-09 16:39:23 +02:00
incremental Move the krate method to Hir and remove the Krate dep node 2020-02-06 13:23:32 +01:00
mir-opt Rollup merge of #68524 - jonas-schievink:generator-resume-arguments, r=Zoxc 2020-02-06 22:38:33 +01:00
pretty parser: unify item list parsing. 2020-02-13 15:16:29 +01:00
run-fail Add a resume type parameter to Generator 2020-02-02 13:20:57 +01:00
run-make Auto merge of #67878 - Others:opt-3, r=Mark-Simulacrum 2020-01-31 00:03:55 +00:00
run-make-fulldeps test: use all: $(call NATIVE_STATICLIB,test) to build a C lib. 2020-02-08 13:40:50 +02:00
run-pass-valgrind
rustdoc Auto merge of #68325 - faern:move-numeric-consts-to-associated-consts-step1, r=LukasKalbertodt 2020-01-30 08:55:07 +00:00
rustdoc-js
rustdoc-js-std
rustdoc-ui --bless --compare-mode=nll 2020-02-09 20:43:49 +01:00
rustfix
ui Rollup merge of #69180 - Aaron1011:feature/comma-struct-init, r=petrochenkov 2020-02-15 09:45:49 +01:00
ui-fulldeps IsAsync -> enum Async { Yes { span: Span, .. }, No } 2020-02-13 10:39:24 +01:00
COMPILER_TESTS.md