rust/src/test
bors e862695158 Auto merge of #41990 - qnighy:disallow-underscore-suffix-for-string-like-literals, r=nikomatsakis
Disallow underscore suffix for string-like literals.

This patch turns string/bytestring/char/byte literals followed by an underscore, like `"Foo"_`, to an error.

`scan_optional_raw_name` will parse `_` as a valid raw name, but it will be rejected by the parser. I also considered just stopping parsing when the suffix is `_`, but in that case `"Foo"_` will be lexed as two valid tokens.

Fixes the latter half of #41723.
2017-06-06 02:56:17 +00:00
..
codegen compiletest: Force directive to be first complete word in header comment. 2017-06-02 23:28:22 +08:00
codegen-units translate drop glue using MIR 2017-03-18 02:53:08 +02:00
compile-fail Auto merge of #42383 - estebank:candidate-newline, r=arielb1 2017-06-05 13:07:38 +00:00
compile-fail-fulldeps Remove some needless // gate-test- comments 2017-05-23 20:17:38 +02:00
debuginfo Stabilize unions with Copy fields and no destructor 2017-05-27 00:52:20 +03:00
incremental incr.comp.: Track expanded spans instead of FileMaps. 2017-05-23 18:20:51 +02:00
mir-opt move "ADT master drop flag" logic to open_drop_for_adt_contents 2017-05-28 10:43:24 +03:00
parse-fail Auto merge of #41990 - qnighy:disallow-underscore-suffix-for-string-like-literals, r=nikomatsakis 2017-06-06 02:56:17 +00:00
pretty
run-fail Unignore tests which work fine now. 2017-04-28 22:31:10 -06:00
run-fail-fulldeps Implement a file-path remapping feature in support of debuginfo and reproducible builds. 2017-04-26 15:44:02 +02:00
run-make fix atomic_lock_free test case 2017-05-22 17:11:39 -04:00
run-pass Auto merge of #42265 - Zoxc:for-sugar, r=eddyb 2017-06-04 05:44:39 +00:00
run-pass-fulldeps Introduce 'run-pass' header to 'ui' tests in compiletest. Fix issue #36516. 2017-06-02 23:28:22 +08:00
run-pass-valgrind
rustdoc rustdoc: Cleanup associated const value rendering 2017-05-31 20:05:28 +01:00
ui Auto merge of #42383 - estebank:candidate-newline, r=arielb1 2017-06-05 13:07:38 +00:00
ui-fulldeps Introduce 'run-pass' header to 'ui' tests in compiletest. Fix issue #36516. 2017-06-02 23:28:22 +08:00
COMPILER_TESTS.md Move COMPILER_TESTS.md out of the root directory 2017-02-25 00:13:00 -06:00