rust/src/test
James Miller 72d629caa5 Improve error message when failing to parse a block
We want to catch this error:

```
if (foo)
    bar;
```

as it's valid syntax in other languages, and say how to fix it.
Unfortunately it didn't care if the suggestion made sense and just
highlighted the unexpected token.

Now it attempts to parse a statement, and if it succeeds, it shows the
help message.

Fixes #35907
2016-08-23 18:23:31 +12:00
..
codegen
codegen-units rustc: move the SelfSpace before TypeSpace in Substs. 2016-08-17 05:50:57 +03:00
compile-fail Improve error message when failing to parse a block 2016-08-23 18:23:31 +12:00
compile-fail-fulldeps
debuginfo
incremental
mir-opt rustc: remove ParamSpace from Substs. 2016-08-17 06:32:00 +03:00
parse-fail Auto merge of #33922 - estebank:doc-comment, r=alexcrichton 2016-08-19 18:14:53 -07:00
pretty
run-fail
run-fail-fulldeps Replace local backtrace with def-use, repair std macro spans 2016-08-17 14:26:14 -07:00
run-make
run-pass Auto merge of #35777 - nrc:carrier3, r=@nikomatsakis 2016-08-21 15:12:43 -07:00
run-pass-fulldeps Auto merge of #35538 - cgswords:libproc_macro, r=nrc 2016-08-16 16:35:10 -07:00
run-pass-valgrind
rustdoc Redirect 2016-08-19 08:20:06 +12:00
ui wording fixes in error messages 2016-08-19 16:05:37 -07:00