rust/src/test/ui/parser
Mazdak Farrokhzad e5da1a12e7
Rollup merge of #66054 - petrochenkov:delspan, r=estebank
syntax: Avoid span arithmetic for delimiter tokens

The +/-1 logic is from the time where the whole group had a single span and the delimiter spans had to be calculated from it.
Now the delimiters have their own spans which are constructed by lexer or proc macro API and can be used directly.
If those spans are not perfect, then it should be fixed by tweaking the corresponding lexer logic rather than by trying to add or substract `1` from the span boundaries.

Fixes https://github.com/rust-lang/rust/issues/62524
r? @estebank
2019-11-06 03:28:09 +01:00
..
macro syntax: Avoid span arithmetics for delimiter tokens 2019-11-03 14:58:12 +03:00
mismatched-braces Do not complain about missing fn main() in some cases 2019-10-30 12:05:26 -07:00
raw Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
ascii-only-character-escape.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
ascii-only-character-escape.stderr introduce unescape module 2019-05-02 15:31:57 +03:00
assoc-oddities-1.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
assoc-oddities-1.stderr Update tests 2019-03-11 23:10:26 +03:00
assoc-oddities-2.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
assoc-oddities-2.stderr Update tests 2019-03-11 23:10:26 +03:00
assoc-type-in-type-arg.rs review comments: wording 2019-09-21 18:57:37 -07:00
assoc-type-in-type-arg.stderr review comments: wording 2019-09-21 18:57:37 -07:00
associated-types-project-from-hrtb-explicit.rs fix tidy 2019-05-31 13:50:04 -07:00
associated-types-project-from-hrtb-explicit.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
attr-bad-meta-2.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
attr-bad-meta-2.stderr Move literal parsing code into a separate file 2019-05-11 16:03:16 +03:00
attr-bad-meta-3.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
attr-bad-meta-3.stderr Update tests 2019-03-11 23:10:26 +03:00
attr-bad-meta.rs Stabilize unrestricted_attribute_tokens 2019-02-25 23:21:54 +03:00
attr-bad-meta.stderr Update tests 2019-03-11 23:10:26 +03:00
attr-before-eof.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
attr-before-eof.stderr Update tests 2019-03-11 23:10:26 +03:00
attr-dangling-in-fn.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
attr-dangling-in-fn.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
attr-dangling-in-mod.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
attr-dangling-in-mod.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
attr.rs Implement basic input validation for built-in attributes 2019-01-13 14:17:19 +03:00
attr.stderr Fix ui/parser/attr test 2019-07-27 19:37:03 +07:00
attrs-after-extern-mod.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
attrs-after-extern-mod.stderr Update tests 2019-03-11 23:10:26 +03:00
bad-char-literals.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
bad-char-literals.stderr compiletest: make path normalization smarter 2019-03-25 01:06:45 -04:00
bad-lit-suffixes.rs fix tidy 2019-05-31 13:50:04 -07:00
bad-lit-suffixes.stderr fix tidy 2019-05-31 13:50:04 -07:00
bad-match.rs parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
bad-match.stderr parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
bad-name.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
bad-name.stderr parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
bad-pointer-type.rs Small tweaks to parser errors 2019-01-11 22:04:54 -08:00
bad-pointer-type.stderr Small tweaks to parser errors 2019-01-11 22:04:54 -08:00
bad-value-ident-false.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
bad-value-ident-false.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
bad-value-ident-true.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
bad-value-ident-true.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
better-expected.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
better-expected.stderr Update tests 2019-03-11 23:10:26 +03:00
bind-struct-early-modifiers.rs Do not complain about unmentioned fields in recovered patterns 2019-03-14 18:28:24 -07:00
bind-struct-early-modifiers.stderr Do not complain about unmentioned fields in recovered patterns 2019-03-14 18:28:24 -07:00
bound-single-question-mark.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
bound-single-question-mark.stderr Update tests 2019-03-11 23:10:26 +03:00
bounds-lifetime-1.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
bounds-lifetime-1.stderr Update tests 2019-03-11 23:10:26 +03:00
bounds-lifetime-2.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
bounds-lifetime-2.stderr Update tests 2019-03-11 23:10:26 +03:00
bounds-lifetime-where-1.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
bounds-lifetime-where-1.stderr Update tests 2019-03-11 23:10:26 +03:00
bounds-lifetime-where.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
bounds-lifetime-where.stderr Update tests 2019-03-11 23:10:26 +03:00
bounds-lifetime.rs Update tests 2019-02-07 15:02:17 +01:00
bounds-lifetime.stderr Update tests 2019-03-11 23:10:26 +03:00
bounds-obj-parens.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
bounds-type-where.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
bounds-type-where.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
bounds-type.rs Remove unecessary -Z continue-parse-after-error from tests 2019-05-30 18:57:17 -07:00
bounds-type.stderr Update tests 2019-03-11 23:10:26 +03:00
brace-after-qualified-path-in-match.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
brace-after-qualified-path-in-match.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
byte-literals.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
byte-literals.stderr introduce unescape module 2019-05-02 15:31:57 +03:00
byte-string-literals.rs Remove unnecessary tidy ignore directives 2019-04-23 11:42:15 +01:00
byte-string-literals.stderr introduce unescape module 2019-05-02 15:31:57 +03:00
circular_modules_hello.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
circular_modules_main.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
circular_modules_main.stderr Update tests 2019-03-11 23:10:26 +03:00
class-implements-bad-trait.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
class-implements-bad-trait.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
closure-return-syntax.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
closure-return-syntax.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
column-offset-1-based.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
column-offset-1-based.stderr Update tests 2019-03-11 23:10:26 +03:00
default.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
default.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
do-catch-suggests-try.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
do-catch-suggests-try.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
doc-after-struct-field.rs fix tidy 2019-05-31 13:50:04 -07:00
doc-after-struct-field.stderr fix tidy 2019-05-31 13:50:04 -07:00
doc-before-attr.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
doc-before-attr.stderr Update tests 2019-03-11 23:10:26 +03:00
doc-before-eof.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
doc-before-eof.stderr Update tests 2019-03-11 23:10:26 +03:00
doc-before-extern-rbrace.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
doc-before-extern-rbrace.stderr Fix tests 2019-01-21 04:52:30 +09:00
doc-before-fn-rbrace.rs fix tidy 2019-05-31 13:50:04 -07:00
doc-before-fn-rbrace.stderr fix tidy 2019-05-31 13:50:04 -07:00
doc-before-identifier.rs fix tidy 2019-05-31 13:50:04 -07:00
doc-before-identifier.stderr fix tidy 2019-05-31 13:50:04 -07:00
doc-before-mod-rbrace.rs fix tidy 2019-05-31 13:50:04 -07:00
doc-before-mod-rbrace.stderr fix tidy 2019-05-31 13:50:04 -07:00
doc-before-rbrace.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
doc-before-rbrace.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
doc-before-semi.rs Update tests for excess semicolon lint 2019-08-12 10:14:07 -04:00
doc-before-semi.stderr Update tests for excess semicolon lint 2019-08-12 10:14:07 -04:00
doc-before-struct-rbrace-1.rs fix tidy 2019-05-31 13:50:04 -07:00
doc-before-struct-rbrace-1.stderr fix tidy 2019-05-31 13:50:04 -07:00
doc-before-struct-rbrace-2.rs fix tidy 2019-05-31 13:50:04 -07:00
doc-before-struct-rbrace-2.stderr fix tidy 2019-05-31 13:50:04 -07:00
doc-comment-in-if-statement.rs Use token description in "expected/found" parse messages 2018-10-28 16:05:50 -07:00
doc-comment-in-if-statement.stderr Use token description in "expected/found" parse messages 2018-10-28 16:05:50 -07:00
doc-inside-trait-item.rs tidy test 2019-03-13 11:53:06 +05:30
doc-inside-trait-item.stderr Update ui tests 2019-10-17 14:19:27 +02:00
duplicate-visibility.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
duplicate-visibility.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
empty-impl-semicolon.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
empty-impl-semicolon.stderr Update tests 2019-03-11 23:10:26 +03:00
expr-as-stmt.fixed Reword ambigous parse error to fit with the current error 2019-04-30 20:37:42 -07:00
expr-as-stmt.rs Reword ambigous parse error to fit with the current error 2019-04-30 20:37:42 -07:00
expr-as-stmt.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
extern-crate-unexpected-token.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
extern-crate-unexpected-token.stderr Update tests 2019-03-11 23:10:26 +03:00
extern-expected-fn-or-brace.rs Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
extern-expected-fn-or-brace.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
extern-foreign-crate.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
extern-foreign-crate.stderr Update tests 2019-03-11 23:10:26 +03:00
extern-no-fn.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
extern-no-fn.stderr Update tests 2019-03-11 23:10:26 +03:00
fn-arg-doc-comment.rs Stabilize param_attrs in Rust 1.39.0 2019-09-11 10:13:43 -03:00
fn-arg-doc-comment.stderr Stabilize param_attrs in Rust 1.39.0 2019-09-11 10:13:43 -03:00
if-in-in.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
if-in-in.stderr Update tests 2019-05-24 01:27:32 +01:00
impl-parsing.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
impl-parsing.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
impl-qpath.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
import-from-path.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
import-from-path.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
import-from-rename.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
import-from-rename.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
import-glob-path.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
import-glob-path.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
import-glob-rename.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
import-glob-rename.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
inner-attr-after-doc-comment.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
inner-attr-after-doc-comment.stderr Fix failing UI tests 2019-07-27 18:24:48 +07:00
inner-attr.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
inner-attr.stderr Make more informative error on outer attr after inner 2019-07-27 16:45:45 +07:00
int-literal-too-large-span.rs syntax: More consistent wording for some literal parsing errors 2019-05-23 12:44:05 +03:00
int-literal-too-large-span.stderr syntax: More consistent wording for some literal parsing errors 2019-05-23 12:44:05 +03:00
intersection-patterns.rs pprust: p1@p2 -> p1 @ p2 2019-10-14 18:12:04 +02:00
intersection-patterns.stderr pprust: p1@p2 -> p1 @ p2 2019-10-14 18:12:04 +02:00
inverted-parameters.rs parser: gracefully handle fn foo(A | B: type). 2019-08-25 05:45:19 +02:00
inverted-parameters.stderr parser: gracefully handle fn foo(A | B: type). 2019-08-25 05:45:19 +02:00
issue-1655.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-1655.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-1802-1.rs Continue evaluating after parsing incorrect binary literal 2019-01-11 19:56:41 -08:00
issue-1802-1.stderr Continue evaluating after parsing incorrect binary literal 2019-01-11 19:56:41 -08:00
issue-1802-2.rs Remove unrelated errors from parse stderr tests 2019-01-12 17:12:41 -08:00
issue-1802-2.stderr Remove unrelated errors from parse stderr tests 2019-01-12 17:12:41 -08:00
issue-2354-1.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-2354-1.stderr Update tests 2019-03-11 23:10:26 +03:00
issue-2354.rs Do not complain about missing fn main() in some cases 2019-10-30 12:05:26 -07:00
issue-2354.stderr Do not complain about missing fn main() in some cases 2019-10-30 12:05:26 -07:00
issue-3036.rs Use heuristics to recover parsing of missing ; 2019-10-28 10:53:13 -07:00
issue-3036.stderr Use heuristics to recover parsing of missing ; 2019-10-28 10:53:13 -07:00
issue-5544-a.rs syntax: More consistent wording for some literal parsing errors 2019-05-23 12:44:05 +03:00
issue-5544-a.stderr syntax: More consistent wording for some literal parsing errors 2019-05-23 12:44:05 +03:00
issue-5544-b.rs syntax: More consistent wording for some literal parsing errors 2019-05-23 12:44:05 +03:00
issue-5544-b.stderr syntax: More consistent wording for some literal parsing errors 2019-05-23 12:44:05 +03:00
issue-5806.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-5806.stderr Update tests 2019-03-11 23:10:26 +03:00
issue-6610.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-6610.stderr Update tests 2019-03-11 23:10:26 +03:00
issue-8537.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-8537.stderr Add new EFIAPI ABI 2019-10-25 13:01:25 +00:00
issue-10392-2.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-10392-2.stderr Update tests 2019-03-11 23:10:26 +03:00
issue-10392.rs Do not complain about unmentioned fields in recovered patterns 2019-03-14 18:28:24 -07:00
issue-10392.stderr Do not complain about unmentioned fields in recovered patterns 2019-03-14 18:28:24 -07:00
issue-10636-1.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-10636-1.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-10636-2.rs Deduplicate mismatched delimiter errors 2019-02-07 01:41:30 -08:00
issue-10636-2.stderr Fix #58270, fix off-by-one error in error diagnostics. 2019-04-22 18:14:45 -05:00
issue-14303-enum.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-14303-enum.stderr Only mention const generics if enabled. 2019-03-31 00:14:21 +01:00
issue-14303-fn-def.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-14303-fn-def.stderr Only mention const generics if enabled. 2019-03-31 00:14:21 +01:00
issue-14303-fncall.rs Update tests 2019-02-07 15:02:17 +01:00
issue-14303-fncall.stderr Update tests 2019-02-07 15:02:17 +01:00
issue-14303-impl.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-14303-impl.stderr Only mention const generics if enabled. 2019-03-31 00:14:21 +01:00
issue-14303-path.rs Update tests 2019-02-07 15:02:17 +01:00
issue-14303-path.stderr Update tests 2019-02-07 15:02:17 +01:00
issue-14303-struct.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-14303-struct.stderr Only mention const generics if enabled. 2019-03-31 00:14:21 +01:00
issue-14303-trait.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-14303-trait.stderr Only mention const generics if enabled. 2019-03-31 00:14:21 +01:00
issue-15914.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-15914.stderr Update tests 2019-03-11 23:10:26 +03:00
issue-15980.rs Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
issue-15980.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
issue-17383.rs Implement arbitrary_enum_discriminant 2019-06-21 11:00:10 -04:00
issue-17383.stderr normalize use of backticks in compiler messages for libsyntax/feature_gate 2019-07-09 14:13:28 +02:00
issue-17718-const-mut.rs Use structured suggestion in stead of notes 2019-01-20 21:41:25 -08:00
issue-17718-const-mut.stderr Update tests 2019-03-11 23:10:26 +03:00
issue-17904-2.rs fix tidy 2019-05-31 13:50:04 -07:00
issue-17904-2.stderr fix tidy 2019-05-31 13:50:04 -07:00
issue-17904.rs fix tidy 2019-05-31 13:50:04 -07:00
issue-17904.stderr fix tidy 2019-05-31 13:50:04 -07:00
issue-19096.rs Do not emit type errors after parse error in last statement of block 2019-07-12 18:55:01 -07:00
issue-19096.stderr Do not emit type errors after parse error in last statement of block 2019-07-12 18:55:01 -07:00
issue-19398.rs Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
issue-19398.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
issue-20711-2.rs Update syntax in existing tests 2019-08-02 02:44:35 +01:00
issue-20711-2.stderr Update syntax in existing tests 2019-08-02 02:44:35 +01:00
issue-20711.rs Update syntax in existing tests 2019-08-02 02:44:35 +01:00
issue-20711.stderr Update syntax in existing tests 2019-08-02 02:44:35 +01:00
issue-21153.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-21153.stderr Update tests 2019-03-11 23:10:26 +03:00
issue-22647.rs parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
issue-22647.stderr parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
issue-22712.rs parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
issue-22712.stderr parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
issue-23620-invalid-escapes.rs introduce unescape module 2019-05-02 15:31:57 +03:00
issue-23620-invalid-escapes.stderr introduce unescape module 2019-05-02 15:31:57 +03:00
issue-24197.rs parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
issue-24197.stderr parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
issue-24375.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-24375.stderr Update tests 2019-03-11 23:10:26 +03:00
issue-24780.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-24780.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-27255.rs Continue evaluating after missing for in impl Trait for Foo 2019-01-11 20:58:51 -08:00
issue-27255.stderr Continue evaluating after missing for in impl Trait for Foo 2019-01-11 20:58:51 -08:00
issue-30318.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-30318.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-32214.rs fix tidy 2019-05-31 13:50:04 -07:00
issue-32214.stderr fix tidy 2019-05-31 13:50:04 -07:00
issue-32446.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-32446.stderr Update tests 2019-03-11 23:10:26 +03:00
issue-32501.rs Improve 'mut ' diagnostic. 2019-08-27 23:44:44 +02:00
issue-32501.stderr Improve 'mut ' diagnostic. 2019-08-27 23:44:44 +02:00
issue-32505.rs fix tidy 2019-05-31 13:50:04 -07:00
issue-32505.stderr fix tidy 2019-05-31 13:50:04 -07:00
issue-33262.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-33262.stderr Handle more cases of typos misinterpreted as type ascription 2019-07-19 10:56:37 -07:00
issue-33413.rs syntax: unify and simplify fn signature parsing. 2019-10-07 06:01:38 +02:00
issue-33413.stderr syntax: unify and simplify fn signature parsing. 2019-10-07 06:01:38 +02:00
issue-33418.fixed Tweak unsupported negative trait bounds message 2019-03-23 13:05:30 -07:00
issue-33418.rs Tweak unsupported negative trait bounds message 2019-03-23 13:05:30 -07:00
issue-33418.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
issue-33455.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-33455.stderr Update tests 2019-03-11 23:10:26 +03:00
issue-41155.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-41155.stderr Update syntax in existing tests 2019-08-02 02:44:35 +01:00
issue-43692.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
issue-43692.stderr compiletest: make path normalization smarter 2019-03-25 01:06:45 -04:00
issue-59418.rs Add specific message for tuple struct invoked with suffixed numeric field name 2019-03-26 12:32:32 -07:00
issue-59418.stderr Add specific message for tuple struct invoked with suffixed numeric field name 2019-03-26 12:32:32 -07:00
issue-62546.rs Handle errors during error recovery gracefully 2019-07-11 16:54:33 -07:00
issue-62546.stderr Handle errors during error recovery gracefully 2019-07-11 16:54:33 -07:00
issue-62660.rs Don't drop DiagnosticBuilder if parsing fails 2019-07-13 19:46:13 -05:00
issue-62660.stderr Don't drop DiagnosticBuilder if parsing fails 2019-07-13 19:46:13 -05:00
issue-62881.rs review comments 2019-07-23 12:51:34 -07:00
issue-62881.stderr review comments: typo and rewording 2019-08-09 07:18:05 -07:00
issue-62895.rs review comments 2019-07-23 12:51:34 -07:00
issue-62895.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
issue-62913.rs Always emit trailing slash error 2019-07-23 17:24:18 -07:00
issue-62913.stderr Always emit trailing slash error 2019-07-23 17:24:18 -07:00
issue-62973.rs ignore-tidy-trailing-newlines 2019-07-26 12:18:28 -07:00
issue-62973.stderr Rollup merge of #66054 - petrochenkov:delspan, r=estebank 2019-11-06 03:28:09 +01:00
issue-63115-range-pat-interpolated.rs Account for maybe_whole_expr in range patterns. 2019-07-30 04:22:09 +02:00
issue-63135.rs parser: gracefully handle fn foo(A | B: type). 2019-08-25 05:45:19 +02:00
issue-63135.stderr syntax: Avoid span arithmetics for delimiter tokens 2019-11-03 14:58:12 +03:00
issue-65122-mac-invoc-in-mut-patterns.rs Account for macro invocation in let mut $pat diagnostic. 2019-10-05 04:34:26 +02:00
issue-65122-mac-invoc-in-mut-patterns.stderr Account for macro invocation in let mut $pat diagnostic. 2019-10-05 04:34:26 +02:00
keyword-abstract.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-abstract.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-as-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-as-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-box-as-identifier.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
keyword-box-as-identifier.stderr Update tests 2019-03-11 23:10:26 +03:00
keyword-break-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-break-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-const-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-const-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-continue-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-continue-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-else-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-else-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-enum-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-enum-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-final.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-final.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-fn-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-fn-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-for-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-for-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-if-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-if-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-impl-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-impl-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-in-as-identifier.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
keyword-in-as-identifier.stderr Update tests 2019-03-11 23:10:26 +03:00
keyword-let-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-let-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-loop-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-loop-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-match-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-match-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-mod-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-mod-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-move-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-move-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-mut-as-identifier.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
keyword-mut-as-identifier.stderr Update tests 2019-03-11 23:10:26 +03:00
keyword-override.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-override.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-pub-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-pub-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-ref-as-identifier.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
keyword-ref-as-identifier.stderr Update tests 2019-03-11 23:10:26 +03:00
keyword-return-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-return-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-static-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-static-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-struct-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-struct-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-trait-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-trait-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-try-as-identifier-edition2018.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-try-as-identifier-edition2018.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-type-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-type-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-typeof.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-typeof.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-unsafe-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-unsafe-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-use-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-use-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-where-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-where-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-while-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-while-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
keyword.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keywords-followed-by-double-colon.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
keywords-followed-by-double-colon.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
lex-bad-binary-literal.rs fix tidy 2019-05-31 13:50:04 -07:00
lex-bad-binary-literal.stderr fix tidy 2019-05-31 13:50:04 -07:00
lex-bad-char-literals-1.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
lex-bad-char-literals-1.stderr introduce unescape module 2019-05-02 15:31:57 +03:00
lex-bad-char-literals-2.rs Provide a span if main function is not present in crate 2019-09-14 11:27:45 -04:00
lex-bad-char-literals-2.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
lex-bad-char-literals-3.rs Remove whitespace 2019-01-20 14:59:10 +09:00
lex-bad-char-literals-3.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
lex-bad-char-literals-4.rs introduce unescape module 2019-05-02 15:31:57 +03:00
lex-bad-char-literals-4.stderr introduce unescape module 2019-05-02 15:31:57 +03:00
lex-bad-char-literals-5.rs Fix tests 2019-01-20 14:53:28 +09:00
lex-bad-char-literals-5.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
lex-bad-char-literals-6.rs Fix tests 2019-01-20 14:53:28 +09:00
lex-bad-char-literals-6.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
lex-bad-char-literals-7.rs introduce unescape module 2019-05-02 15:31:57 +03:00
lex-bad-char-literals-7.stderr introduce unescape module 2019-05-02 15:31:57 +03:00
lex-bad-numeric-literals.rs fix tidy 2019-05-31 13:50:04 -07:00
lex-bad-numeric-literals.stderr Introduce rustc_lexer 2019-07-20 21:12:34 +03:00
lex-bad-octal-literal.rs fix tidy 2019-05-31 13:50:04 -07:00
lex-bad-octal-literal.stderr fix tidy 2019-05-31 13:50:04 -07:00
lex-bad-token.rs remove special code path for unknown tokens 2019-08-05 13:15:11 +03:00
lex-bad-token.stderr compiletest: make path normalization smarter 2019-03-25 01:06:45 -04:00
lex-bare-cr-string-literal-doc-comment.rs Don't suggest using \r in raw strings 2019-06-10 17:32:15 +02:00
lex-bare-cr-string-literal-doc-comment.stderr Don't suggest using \r in raw strings 2019-06-10 17:32:15 +02:00
lex-stray-backslash.rs remove special code path for unknown tokens 2019-08-05 13:15:11 +03:00
lex-stray-backslash.stderr compiletest: make path normalization smarter 2019-03-25 01:06:45 -04:00
lifetime-in-pattern.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
lifetime-in-pattern.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
lifetime-semicolon.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
lifetime-semicolon.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
macro-bad-delimiter-ident.rs syntax: Unsupport foo! bar { ... } macros in the parser 2019-07-01 12:20:54 +03:00
macro-bad-delimiter-ident.stderr syntax: Unsupport foo! bar { ... } macros in the parser 2019-07-01 12:20:54 +03:00
macro-keyword.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
macro-keyword.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
macro-mismatched-delim-brace-paren.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
macro-mismatched-delim-brace-paren.stderr Update tests 2019-03-11 23:10:26 +03:00
macro-mismatched-delim-paren-brace.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
macro-mismatched-delim-paren-brace.stderr Update tests 2019-03-11 23:10:26 +03:00
macros-no-semicolon-items.rs add suggestions to invalid macro item error 2019-03-13 15:24:36 -04:00
macros-no-semicolon-items.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
macros-no-semicolon.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
macros-no-semicolon.stderr Update tests 2019-03-11 23:10:26 +03:00
match-arrows-block-then-binop.rs Identify when a stmt could have been parsed as an expr 2019-04-29 14:07:02 -07:00
match-arrows-block-then-binop.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
match-refactor-to-expr.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
match-refactor-to-expr.stderr Update tests 2019-03-11 23:10:26 +03:00
match-vec-invalid.rs Address comments re. off-topic errors. 2019-07-28 06:53:39 +02:00
match-vec-invalid.stderr Address comments re. off-topic errors. 2019-07-28 06:53:39 +02:00
mismatched-delim-brace-empty-block.rs Collect occurrences of for mismatched braces diagnostic 2019-10-15 23:59:22 +08:00
mismatched-delim-brace-empty-block.stderr Collect occurrences of for mismatched braces diagnostic 2019-10-15 23:59:22 +08:00
missing_right_paren.rs syntax: Avoid span arithmetics for delimiter tokens 2019-11-03 14:58:12 +03:00
missing_right_paren.stderr syntax: Avoid span arithmetics for delimiter tokens 2019-11-03 14:58:12 +03:00
mod_file_not_exist_windows.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
mod_file_not_exist_windows.stderr Update tests 2019-03-11 23:10:26 +03:00
mod_file_not_exist.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
mod_file_not_exist.stderr Update tests that don't run on my platform 2019-03-11 23:30:10 +03:00
mod_file_with_path_attr.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
mod_file_with_path_attr.stderr Update tests 2019-03-11 23:10:26 +03:00
multiline-comment-line-tracking.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
multiline-comment-line-tracking.stderr Update tests 2019-03-11 23:10:26 +03:00
multitrait.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
multitrait.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
mut-patterns.rs Upgrade async/await to "used" keywords. 2019-09-28 09:15:06 -07:00
mut-patterns.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
new-unicode-escapes-1.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
new-unicode-escapes-1.stderr introduce unescape module 2019-05-02 15:31:57 +03:00
new-unicode-escapes-2.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
new-unicode-escapes-2.stderr introduce unescape module 2019-05-02 15:31:57 +03:00
new-unicode-escapes-3.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
new-unicode-escapes-3.stderr introduce unescape module 2019-05-02 15:31:57 +03:00
new-unicode-escapes-4.rs fix tidy 2019-05-31 13:50:04 -07:00
new-unicode-escapes-4.stderr fix tidy 2019-05-31 13:50:04 -07:00
no-binary-float-literal.rs syntax: More consistent wording for some literal parsing errors 2019-05-23 12:44:05 +03:00
no-binary-float-literal.stderr syntax: More consistent wording for some literal parsing errors 2019-05-23 12:44:05 +03:00
no-const-fn-in-extern-block.rs Add support for 'extern const fn' 2019-10-02 00:38:52 -04:00
no-const-fn-in-extern-block.stderr Add support for 'extern const fn' 2019-10-02 00:38:52 -04:00
no-hex-float-literal.rs syntax: Some code cleanup 2019-05-23 12:46:41 +03:00
no-hex-float-literal.stderr syntax: Some code cleanup 2019-05-23 12:46:41 +03:00
no-unsafe-self.rs fix tidy 2019-05-31 13:50:04 -07:00
no-unsafe-self.stderr fix tidy 2019-05-31 13:50:04 -07:00
not-a-pred.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
not-a-pred.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
numeric-lifetime.rs review comments 2019-03-09 11:08:51 -08:00
numeric-lifetime.stderr review comments 2019-03-09 11:08:51 -08:00
omitted-arg-in-item-fn.rs parser: gracefully handle fn foo(A | B: type). 2019-08-25 05:45:19 +02:00
omitted-arg-in-item-fn.stderr parser: gracefully handle fn foo(A | B: type). 2019-08-25 05:45:19 +02:00
paamayim-nekudotayim.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
paamayim-nekudotayim.stderr Update tests 2019-03-11 23:10:26 +03:00
paren-after-qualified-path-in-match.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
paren-after-qualified-path-in-match.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
pat-lt-bracket-1.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
pat-lt-bracket-1.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
pat-lt-bracket-2.rs parser: gracefully handle fn foo(A | B: type). 2019-08-25 05:45:19 +02:00
pat-lt-bracket-2.stderr syntax: improve parameter without type suggestions 2019-10-02 09:51:27 +01:00
pat-lt-bracket-3.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
pat-lt-bracket-3.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
pat-lt-bracket-4.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
pat-lt-bracket-4.stderr Update tests 2019-03-11 23:10:26 +03:00
pat-lt-bracket-5.rs parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
pat-lt-bracket-5.stderr parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
pat-lt-bracket-6.rs initial implementation of or-pattern parsing 2019-08-17 15:55:40 +00:00
pat-lt-bracket-6.stderr initial implementation of or-pattern parsing 2019-08-17 15:55:40 +00:00
pat-lt-bracket-7.rs initial implementation of or-pattern parsing 2019-08-17 15:55:40 +00:00
pat-lt-bracket-7.stderr initial implementation of or-pattern parsing 2019-08-17 15:55:40 +00:00
pat-ranges-1.rs parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
pat-ranges-1.stderr parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
pat-ranges-2.rs parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
pat-ranges-2.stderr parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
pat-ranges-3.rs parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
pat-ranges-3.stderr parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
pat-ranges-4.rs parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
pat-ranges-4.stderr parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
pat-ref-enum.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
pat-ref-enum.stderr Update tests 2019-03-11 23:10:26 +03:00
pat-tuple-1.rs revert change to test file as per review request 2019-03-29 06:41:15 -07:00
pat-tuple-1.stderr Update tests 2019-03-11 23:10:26 +03:00
pat-tuple-2.rs (pat, ..,) is now syntactically legal. 2019-07-28 06:53:39 +02:00
pat-tuple-3.rs --bless tests due to new subslice syntax. 2019-07-28 06:53:39 +02:00
pat-tuple-3.stderr --bless tests due to new subslice syntax. 2019-07-28 06:53:39 +02:00
pat-tuple-4.rs Revert "pre-expansion gate exclusive_range_pattern" 2019-10-31 19:08:11 +02:00
pat-tuple-4.stderr Revert "pre-expansion gate exclusive_range_pattern" 2019-10-31 19:08:11 +02:00
pat-tuple-5.rs And --bless tests accordingly for those exceptions. 2019-07-28 06:53:39 +02:00
pat-tuple-5.stderr Revert "pre-expansion gate exclusive_range_pattern" 2019-10-31 19:08:11 +02:00
pub-method-macro.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
pub-method-macro.stderr Update tests 2019-03-11 23:10:26 +03:00
range_inclusive_dotdotdot.rs fix tidy 2019-05-31 13:50:04 -07:00
range_inclusive_dotdotdot.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
range_inclusive.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
range_inclusive.stderr Update tests 2019-03-11 23:10:26 +03:00
range-3.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
range-3.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
range-4.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
range-4.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
raw-byte-string-eof.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
raw-byte-string-eof.stderr Introduce rustc_lexer 2019-07-20 21:12:34 +03:00
raw-byte-string-literals.rs Don't suggest using \r in raw strings 2019-06-10 17:32:15 +02:00
raw-byte-string-literals.stderr Introduce rustc_lexer 2019-07-20 21:12:34 +03:00
raw-str-delim.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
raw-str-delim.stderr Introduce rustc_lexer 2019-07-20 21:12:34 +03:00
raw-str-unbalanced.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
raw-str-unbalanced.stderr Update tests 2019-03-11 23:10:26 +03:00
raw-str-unterminated.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
raw-str-unterminated.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
recover-enum2.rs fix tidy 2019-05-31 13:50:04 -07:00
recover-enum2.stderr Handle more cases of typos misinterpreted as type ascription 2019-07-19 10:56:37 -07:00
recover-enum.rs fix tidy 2019-05-31 13:50:04 -07:00
recover-enum.stderr fix tidy 2019-05-31 13:50:04 -07:00
recover-for-loop-parens-around-head.rs Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
recover-for-loop-parens-around-head.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
recover-from-bad-variant.rs Point at local similarly named element and tweak references to variants 2019-10-27 11:50:43 -07:00
recover-from-bad-variant.stderr Point at local similarly named element and tweak references to variants 2019-10-27 11:50:43 -07:00
recover-from-homoglyph.rs Allow lexer to recover from some homoglyphs 2019-07-24 16:10:42 -07:00
recover-from-homoglyph.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
recover-missing-semi.rs Use heuristics to recover parsing of missing ; 2019-10-28 10:53:13 -07:00
recover-missing-semi.stderr Use heuristics to recover parsing of missing ; 2019-10-28 10:53:13 -07:00
recover-range-pats.rs Account for maybe_whole_expr in range patterns. 2019-07-30 04:22:09 +02:00
recover-range-pats.stderr Account for maybe_whole_expr in range patterns. 2019-07-30 04:22:09 +02:00
recover-struct.rs fix tidy 2019-05-31 13:50:04 -07:00
recover-struct.stderr fix tidy 2019-05-31 13:50:04 -07:00
recover-tuple-pat.rs Win some lose some; Unfortunately we lost recovery in one case. 2019-07-28 06:53:39 +02:00
recover-tuple-pat.stderr Win some lose some; Unfortunately we lost recovery in one case. 2019-07-28 06:53:39 +02:00
recover-tuple.rs Recover from parse error in tuple syntax 2019-03-28 04:47:37 -07:00
recover-tuple.stderr Recover from parse error in tuple syntax 2019-03-28 04:47:37 -07:00
recovered-struct-variant.rs Do not complain about non-existing fields after parse recovery 2019-03-17 20:09:53 -07:00
recovered-struct-variant.stderr Do not complain about non-existing fields after parse recovery 2019-03-17 20:09:53 -07:00
regions-out-of-scope-slice.rs Update comment in test which has changed its purpose 2019-01-27 08:59:58 -07:00
regions-out-of-scope-slice.stderr Update tests 2019-03-11 23:10:26 +03:00
removed-syntax-closure-lifetime.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
removed-syntax-closure-lifetime.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
removed-syntax-enum-newtype.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
removed-syntax-enum-newtype.stderr Update tests 2019-03-11 23:10:26 +03:00
removed-syntax-extern-const.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
removed-syntax-extern-const.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
removed-syntax-field-let.rs fix tidy 2019-05-31 13:50:04 -07:00
removed-syntax-field-let.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
removed-syntax-field-semicolon.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
removed-syntax-field-semicolon.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
removed-syntax-fixed-vec.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
removed-syntax-fixed-vec.stderr Update tests 2019-03-11 23:10:26 +03:00
removed-syntax-fn-sigil.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
removed-syntax-fn-sigil.stderr Update tests 2019-03-11 23:10:26 +03:00
removed-syntax-mode.rs parser: gracefully handle fn foo(A | B: type). 2019-08-25 05:45:19 +02:00
removed-syntax-mode.stderr parser: gracefully handle fn foo(A | B: type). 2019-08-25 05:45:19 +02:00
removed-syntax-mut-vec-expr.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
removed-syntax-mut-vec-expr.stderr Update tests 2019-03-11 23:10:26 +03:00
removed-syntax-mut-vec-ty.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
removed-syntax-mut-vec-ty.stderr Handle more cases of typos misinterpreted as type ascription 2019-07-19 10:56:37 -07:00
removed-syntax-ptr-lifetime.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
removed-syntax-ptr-lifetime.stderr Update tests 2019-03-11 23:10:26 +03:00
removed-syntax-record.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
removed-syntax-record.stderr Handle more cases of typos misinterpreted as type ascription 2019-07-19 10:56:37 -07:00
removed-syntax-static-fn.rs Update syntax in existing tests 2019-08-02 02:44:35 +01:00
removed-syntax-static-fn.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
removed-syntax-uniq-mut-expr.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
removed-syntax-uniq-mut-expr.stderr Update tests 2019-03-11 23:10:26 +03:00
removed-syntax-uniq-mut-ty.rs Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
removed-syntax-uniq-mut-ty.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
removed-syntax-with-1.rs Accept more invalid code that is close to correct fields 2019-01-21 15:47:23 -08:00
removed-syntax-with-1.stderr Accept more invalid code that is close to correct fields 2019-01-21 15:47:23 -08:00
removed-syntax-with-2.rs Tweak field parse error recovery 2019-01-20 15:16:36 -08:00
removed-syntax-with-2.stderr Tweak field parse error recovery 2019-01-20 15:16:36 -08:00
require-parens-for-chained-comparison.rs review comments 2019-10-03 13:22:18 -07:00
require-parens-for-chained-comparison.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
self-in-function-arg.rs review comments: move back some methods and clean up wording 2019-05-25 12:15:06 -07:00
self-in-function-arg.stderr review comments: move back some methods and clean up wording 2019-05-25 12:15:06 -07:00
several-carriage-returns-in-doc-comment.rs fix lexing of comments with many \r 2019-07-22 15:39:06 +03:00
several-carriage-returns-in-doc-comment.stderr fix lexing of comments with many \r 2019-07-22 15:39:06 +03:00
struct-field-numeric-shorthand.rs Recover from parse errors in struct literal fields 2019-01-20 00:37:06 -08:00
struct-field-numeric-shorthand.stderr Recover from parse errors in struct literal fields 2019-01-20 00:37:06 -08:00
struct-literal-in-for.rs Emit specific error for struct literal in conditions 2019-04-19 10:13:44 -07:00
struct-literal-in-for.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
struct-literal-in-if.rs Emit specific error for struct literal in conditions 2019-04-19 10:13:44 -07:00
struct-literal-in-if.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
struct-literal-in-match-discriminant.rs Emit specific error for struct literal in conditions 2019-04-19 10:13:44 -07:00
struct-literal-in-match-discriminant.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
struct-literal-in-while.rs Emit specific error for struct literal in conditions 2019-04-19 10:13:44 -07:00
struct-literal-in-while.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
struct-literal-restrictions-in-lamda.rs Emit specific error for struct literal in conditions 2019-04-19 10:13:44 -07:00
struct-literal-restrictions-in-lamda.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
tag-variant-disr-non-nullary.rs Implement arbitrary_enum_discriminant 2019-06-21 11:00:10 -04:00
tag-variant-disr-non-nullary.stderr normalize use of backticks in compiler messages for libsyntax/feature_gate 2019-07-09 14:13:28 +02:00
trailing-carriage-return-in-string.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
trailing-carriage-return-in-string.stderr compiletest: make path normalization smarter 2019-03-25 01:06:45 -04:00
trailing-plus-in-bounds.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
trait-bounds-not-on-impl.rs fix tidy 2019-05-31 13:50:04 -07:00
trait-bounds-not-on-impl.stderr fix tidy 2019-05-31 13:50:04 -07:00
trait-object-bad-parens.rs fix tidy 2019-05-31 13:50:04 -07:00
trait-object-bad-parens.stderr fix tidy 2019-05-31 13:50:04 -07:00
trait-object-lifetime-parens.rs Bail out when encountering likely missing turbofish in parser 2019-09-05 13:18:05 -07:00
trait-object-lifetime-parens.stderr Bail out when encountering likely missing turbofish in parser 2019-09-05 13:18:05 -07:00
trait-object-polytrait-priority.rs Update test/ui/parser for bare_trait_object warnings 2019-05-28 14:45:27 -04:00
trait-object-polytrait-priority.stderr Update test/ui/parser for bare_trait_object warnings 2019-05-28 14:45:27 -04:00
trait-object-trait-parens.rs Update test/ui/parser for bare_trait_object warnings 2019-05-28 14:45:27 -04:00
trait-object-trait-parens.stderr normalize use of backticks in compiler messages for librustc/lint 2019-07-17 22:49:48 +02:00
trait-plusequal-splitting.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
trait-pub-assoc-const.rs Recover from incorrect pub kw in "reasonable" places 2019-03-16 17:47:57 -07:00
trait-pub-assoc-const.stderr Recover from incorrect pub kw in "reasonable" places 2019-03-16 17:47:57 -07:00
trait-pub-assoc-ty.rs Recover from incorrect pub kw in "reasonable" places 2019-03-16 17:47:57 -07:00
trait-pub-assoc-ty.stderr Recover from incorrect pub kw in "reasonable" places 2019-03-16 17:47:57 -07:00
trait-pub-method.rs Recover from incorrect pub kw in "reasonable" places 2019-03-16 17:47:57 -07:00
trait-pub-method.stderr Recover from incorrect pub kw in "reasonable" places 2019-03-16 17:47:57 -07:00
type-parameters-in-field-exprs.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
type-parameters-in-field-exprs.stderr review comments 2019-09-22 11:33:12 -07:00
unbalanced-doublequote.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
unbalanced-doublequote.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
unclosed_delim_mod.rs Provide a span if main function is not present in crate 2019-09-14 11:27:45 -04:00
unclosed_delim_mod.stderr Provide a span if main function is not present in crate 2019-09-14 11:27:45 -04:00
unclosed-braces.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
unclosed-braces.stderr Update tests 2019-03-11 23:10:26 +03:00
unclosed-delimiter-in-dep.rs Add regression test for #58886 2019-03-06 18:46:11 -08:00
unclosed-delimiter-in-dep.stderr Provide a span if main function is not present in crate 2019-09-14 11:27:45 -04:00
underscore_item_not_const.rs Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
underscore_item_not_const.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
underscore-suffix-for-float.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
underscore-suffix-for-float.stderr Update tests 2019-03-11 23:10:26 +03:00
underscore-suffix-for-string.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
underscore-suffix-for-string.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
unicode-chars.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
unicode-chars.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
unicode-quote-chars.rs remove special code path for unknown tokens 2019-08-05 13:15:11 +03:00
unicode-quote-chars.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
unmatched-delimiter-at-end-of-file.rs Do not point at delim spans for complete correct blocks 2018-12-17 10:22:49 -08:00
unmatched-delimiter-at-end-of-file.stderr Update tests 2019-03-11 23:10:26 +03:00
unsized2.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
unsized2.stderr Update tests 2019-03-11 23:10:26 +03:00
unsized.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
unsized.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
use-as-where-use-ends-with-mod-sep.rs fix tidy 2019-05-31 13:50:04 -07:00
use-as-where-use-ends-with-mod-sep.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
use-ends-with-mod-sep.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
use-ends-with-mod-sep.stderr Update tests 2019-03-11 23:10:26 +03:00
variadic-ffi-3.rs Rename variadic to c_variadic 2019-02-27 10:21:54 -05:00
variadic-ffi-3.stderr Update ui tests 2019-10-31 10:39:46 +01:00
variadic-ffi-4.rs Rename variadic to c_variadic 2019-02-27 10:21:54 -05:00
variadic-ffi-4.stderr Update ui tests 2019-10-31 10:39:46 +01:00
virtual-structs.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
virtual-structs.stderr tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
where_with_bound.rs Continue evaluating after type argument in where clause 2019-01-11 21:05:48 -08:00
where_with_bound.stderr Continue evaluating after type argument in where clause 2019-01-11 21:05:48 -08:00
where-clauses-no-bounds-or-predicates.rs fix tidy 2019-05-31 13:50:04 -07:00
where-clauses-no-bounds-or-predicates.stderr fix tidy 2019-05-31 13:50:04 -07:00
wrong-escape-of-curly-braces.rs tests: Do not use -Z parse-only, continue compilation to test recovery 2019-01-06 22:20:46 +03:00
wrong-escape-of-curly-braces.stderr compiletest: make path normalization smarter 2019-03-25 01:06:45 -04:00