rust/src/test
kennytm 8188f12aaa
Rollup merge of #53183 - estebank:println-comma, r=oli-obk
Suggest comma when missing in macro call

When missing a comma in a macro call, suggest it, regardless of
position. When a macro call doesn't match any of the patterns, check
if the call's token stream could be missing a comma between two idents,
and if so, create a new token stream containing the comma and try to
match against the macro patterns. If successful, emit the suggestion.

This works on arbitrary macros, with no need of special support from
the macro writers.

```
error: no rules expected the token `d`
  --> $DIR/missing-comma.rs:26:18
   |
LL |     foo!(a, b, c d, e);
   |                 -^
   |                 |
   |                 help: missing comma here
```
Follow up to #52397.
2018-08-10 01:01:22 +08:00
..
auxiliary
codegen Auto merge of #51007 - AstralSorcerer:master, r=nagisa 2018-08-07 02:12:35 +00:00
codegen-units Revert "Adapt codegen-unit tests to new CGU naming scheme." 2018-07-16 08:58:15 +02:00
compile-fail Auto merge of #53053 - petrochenkov:custattr, r=alexcrichton 2018-08-08 08:37:56 +00:00
compile-fail-fulldeps Address review comments 2018-08-06 23:55:53 +03:00
debuginfo Fix test/debuginfo 2018-08-05 15:54:49 +01:00
incremental rustc: Use link_section, not wasm_custom_section 2018-07-16 09:40:45 -07:00
incremental-fulldeps
mir-opt patch up mir-opt tests 2018-07-26 15:12:04 +03:00
parse-fail Implement 2015 vs 2018 ? kleene op + test 2018-07-23 21:54:43 -05:00
pretty Address review comments 2018-08-06 23:55:53 +03:00
run-fail Convert unknown_features lint into an error 2018-08-05 15:54:49 +01:00
run-fail-fulldeps
run-make rustc: Tweak visibility of some lang items 2018-08-07 08:42:38 -07:00
run-make-fulldeps Auto merge of #51007 - AstralSorcerer:master, r=nagisa 2018-08-07 02:12:35 +00:00
run-pass Rollup merge of #53093 - 0e4ef622:issue-52169-fix, r=petrochenkov 2018-08-07 16:55:43 +08:00
run-pass-fulldeps Auto merge of #53053 - petrochenkov:custattr, r=alexcrichton 2018-08-08 08:37:56 +00:00
run-pass-valgrind Convert unknown_features lint into an error 2018-08-05 15:54:49 +01:00
rustdoc Auto merge of #52644 - varkor:lib-feature-gate-2, r=withoutboats 2018-08-06 16:58:27 +00:00
rustdoc-js Update stdsimd to undo an accidental stabilization 2018-07-20 22:34:09 -07:00
rustdoc-ui Rollup merge of #52835 - GuillaumeGomez:ice-rustdoc-links, r=eddyb 2018-08-01 21:46:27 +02:00
rustfix Removed various update-reference and update-all-references scripts 2018-06-13 18:15:50 -04:00
ui Rollup merge of #53183 - estebank:println-comma, r=oli-obk 2018-08-10 01:01:22 +08:00
ui-fulldeps Address review comments 2018-08-06 23:55:53 +03:00
COMPILER_TESTS.md