rust/src/test/ui/parser
Mazdak Farrokhzad 111724f5e2
Rollup merge of #68985 - daboross:fix-35813, r=Centril
Parse & reject postfix operators after casts

This adds an explicit error messages for when parsing `x as Type[0]` or similar expressions. Our add an extra parse case for parsing any postfix operator (dot, indexing, method calls, await) that triggers directly after parsing `as` expressions.

My friend and I worked on this together, but they're still deciding on a github username and thus I'm submitting this for both of us.

It will immediately error out, but will also provide the rest of the parser with a useful parse tree to deal with.

There's one decision we made in how this produces the parse tree. In the situation `&x as T[0]`, one could imagine this parsing as either `&((x as T)[0])` or `((&x) as T)[0]`. We chose the latter for ease of implementation, and as it seemed the most intuitive.

Feedback welcome! This is our first change to the parser section, and it might be completely horrible.

Fixes #35813.
2020-03-07 08:15:21 +01:00
..
macro parse: use parse_item_common in parse_assoc_item_. 2020-02-24 00:59:38 +01:00
mismatched-braces parse: tweak diagnostic wordings 2020-02-24 00:59:38 +01:00
raw Update UI tests 2020-02-28 16:01:04 +01:00
ascii-only-character-escape.rs Remove -Z continue-parse-after-error 2020-01-08 21:48:04 +03:00
ascii-only-character-escape.stderr Remove -Z continue-parse-after-error 2020-01-08 21:48:04 +03:00
assoc-const-underscore-semantic-fail.rs ast/parser: fuse static & const grammars in all contexts. 2020-02-15 20:57:12 +01:00
assoc-const-underscore-semantic-fail.stderr ast/parser: fuse static & const grammars in all contexts. 2020-02-15 20:57:12 +01:00
assoc-const-underscore-syntactic-pass.rs ast/parser: fuse static & const grammars in all contexts. 2020-02-15 20:57:12 +01: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08:00
assoc-static-semantic-fail.rs parse/ast: move Defaultness into variants. 2020-02-24 00:59:38 +01:00
assoc-static-semantic-fail.stderr parse/ast: move Defaultness into variants. 2020-02-24 00:59:38 +01:00
assoc-static-syntactic-fail.rs parse/ast: move Defaultness into variants. 2020-02-24 00:59:38 +01:00
assoc-static-syntactic-fail.stderr parse/ast: move Defaultness into variants. 2020-02-24 00:59:38 +01: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 Rework raw ident suggestions 2019-11-23 17:06:34 -08: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 parser: misc small item related improvements & cleanups. 2020-02-13 16:29:10 +01: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 encode ; stmt w/o expr as StmtKind::Empty 2020-03-01 23:02:17 +01: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 parser: misc small item related improvements & cleanups. 2020-02-13 16:29:10 +01:00
attr-stmt-expr-attr-bad.rs Introduce #![feature(half_open_range_patterns)]. 2020-01-10 07:29:04 +01:00
attr-stmt-expr-attr-bad.stderr encode ; stmt w/o expr as StmtKind::Empty 2020-03-01 23:02:17 +01: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 parser: unify item list parsing. 2020-02-13 15:16:29 +01:00
attrs-after-extern-mod.stderr parse: use parse_item_common in parse_assoc_item_. 2020-02-24 00:59:38 +01:00
bad-char-literals.rs Remove -Z continue-parse-after-error 2020-01-08 21:48:04 +03:00
bad-char-literals.stderr Remove -Z continue-parse-after-error 2020-01-08 21:48:04 +03:00
bad-lit-suffixes.rs parser: allow ABIs from literal macro fragments 2019-11-07 05:25:31 +01:00
bad-lit-suffixes.stderr parser: allow ABIs from literal macro fragments 2019-11-07 05:25:31 +01:00
bad-match.rs parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
bad-match.stderr Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 parse: allow type Foo: Ord syntactically. 2020-02-22 00:19:27 +01:00
bounds-lifetime-where.stderr parse: allow type Foo: Ord syntactically. 2020-02-22 00:19:27 +01:00
bounds-lifetime.rs Update tests 2019-02-07 15:02:17 +01:00
bounds-lifetime.stderr Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08:00
bounds-type.rs Add tests for RFC 2632 2020-01-09 16:47:05 -08:00
bounds-type.stderr Add tests for RFC 2632 2020-01-09 16:47:05 -08: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 parser::pat: remove .fatal calls 2019-12-31 04:33:34 +01:00
byte-literals.rs Remove -Z continue-parse-after-error 2020-01-08 21:48:04 +03:00
byte-literals.stderr Remove -Z continue-parse-after-error 2020-01-08 21:48:04 +03:00
byte-string-literals.rs Remove -Z continue-parse-after-error 2020-01-08 21:48:04 +03:00
byte-string-literals.stderr Remove -Z continue-parse-after-error 2020-01-08 21:48:04 +03:00
chained-comparison-suggestion.rs Add suggestions when encountering chained comparisons 2020-01-11 01:56:25 +00:00
chained-comparison-suggestion.stderr Add suggestions when encountering chained comparisons 2020-01-11 01:56:25 +00: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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-on-wrong-item-kind.rs parse: tweak diagnostic wordings 2020-02-24 00:59:38 +01:00
default-on-wrong-item-kind.stderr parse: tweak diagnostic wordings 2020-02-24 00:59:38 +01:00
default-unmatched-assoc.rs parse: tweak diagnostic wordings 2020-02-24 00:59:38 +01:00
default-unmatched-assoc.stderr parse: tweak diagnostic wordings 2020-02-24 00:59:38 +01:00
default-unmatched-extern.rs parse: tweak diagnostic wordings 2020-02-24 00:59:38 +01:00
default-unmatched-extern.stderr parse: tweak diagnostic wordings 2020-02-24 00:59:38 +01:00
default-unmatched.rs parse: tweak diagnostic wordings 2020-02-24 00:59:38 +01:00
default-unmatched.stderr parse: tweak diagnostic wordings 2020-02-24 00:59:38 +01:00
default.rs parse: tweak diagnostic wordings 2020-02-24 00:59:38 +01:00
default.stderr parse: tweak diagnostic wordings 2020-02-24 00:59:38 +01:00
do-catch-suggests-try.rs recover on 'do catch { .. }' 2019-12-20 22:41:29 +01:00
do-catch-suggests-try.stderr recover on 'do catch { .. }' 2019-12-20 22:41:29 +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 parser: misc small item related improvements & cleanups. 2020-02-13 16:29:10 +01: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 parser: unify item list parsing. 2020-02-13 15:16:29 +01:00
doc-before-extern-rbrace.stderr parser: unify item list parsing. 2020-02-13 15:16:29 +01: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 encode ; stmt w/o expr as StmtKind::Empty 2020-03-01 23:02:17 +01:00
doc-before-semi.stderr encode ; stmt w/o expr as StmtKind::Empty 2020-03-01 23:02:17 +01: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 more recovery in if-parsing 2019-12-23 13:42:25 +01:00
doc-comment-in-stmt.rs suggest adding space in accidental doc comments 2020-01-30 09:00:35 -05:00
doc-comment-in-stmt.stderr suggest adding space in accidental doc comments 2020-01-30 09:00:35 -05:00
doc-inside-trait-item.rs tidy test 2019-03-13 11:53:06 +05:30
doc-inside-trait-item.stderr parser: unify item list parsing. 2020-02-13 15:16:29 +01:00
duplicate-visibility.rs parse: tweak diagnostic wordings 2020-02-24 00:59:38 +01:00
duplicate-visibility.stderr parse: tweak diagnostic wordings 2020-02-24 00:59:38 +01: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
extern-abi-from-mac-literal-frag.rs parser: allow ABIs from literal macro fragments 2019-11-07 05:25:31 +01:00
extern-abi-raw-strings.rs test that extern lits accept raw strings annd escapes 2019-11-07 05:25:31 +01:00
extern-abi-string-escaping.rs test that extern lits accept raw strings annd escapes 2019-11-07 05:25:31 +01:00
extern-abi-syntactic.rs test that parser is oblivious to set of ABIs 2019-11-07 05:25:31 +01:00
extern-crate-async.rs parser: add test for 'extern crate async' 2020-02-13 10:40:17 +01:00
extern-crate-unexpected-token.rs parser: fuse free fn parsing together. 2020-02-13 10:39:24 +01:00
extern-crate-unexpected-token.stderr parser: fuse free fn parsing together. 2020-02-13 10:39:24 +01:00
extern-expected-fn-or-brace.rs parser: fuse free fn parsing together. 2020-02-13 10:39:24 +01:00
extern-expected-fn-or-brace.stderr parser: fuse free fn parsing together. 2020-02-13 10:39:24 +01: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08:00
extern-no-fn.rs parse: use parse_item_common in parse_foreign_item. 2020-02-24 00:59:38 +01:00
extern-no-fn.stderr parse: use parse_item_common in parse_assoc_item_. 2020-02-24 00:59:38 +01:00
fn-arg-doc-comment.rs Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
fn-arg-doc-comment.stderr Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
fn-body-optional-semantic-fail.rs parser: merge fn grammars wrt. bodies & headers 2020-02-05 01:27:09 +01:00
fn-body-optional-semantic-fail.stderr parser: merge fn grammars wrt. bodies & headers 2020-02-05 01:27:09 +01:00
fn-body-optional-syntactic-pass.rs parser: merge fn grammars wrt. bodies & headers 2020-02-05 01:27:09 +01:00
fn-header-semantic-fail.rs ast_validation: tweak diagnostic output 2020-02-13 10:40:17 +01:00
fn-header-semantic-fail.stderr ast_validation: tweak diagnostic output 2020-02-13 10:40:17 +01:00
fn-header-syntactic-pass.rs parser: fuse free fn parsing together. 2020-02-13 10:39:24 +01:00
foreign-const-semantic-fail.rs parse: use parse_item_common in parse_foreign_item. 2020-02-24 00:59:38 +01:00
foreign-const-semantic-fail.stderr parse: use parse_item_common in parse_foreign_item. 2020-02-24 00:59:38 +01:00
foreign-const-syntactic-fail.rs reject assoc statics & extern consts during parsing 2020-02-15 22:21:00 +01:00
foreign-const-syntactic-fail.stderr reject assoc statics & extern consts during parsing 2020-02-15 22:21:00 +01:00
foreign-static-semantic-fail.rs ast/parser: fuse static & const grammars in all contexts. 2020-02-15 20:57:12 +01:00
foreign-static-semantic-fail.stderr ast/parser: fuse static & const grammars in all contexts. 2020-02-15 20:57:12 +01:00
foreign-static-syntactic-pass.rs ast/parser: fuse static & const grammars in all contexts. 2020-02-15 20:57:12 +01:00
foreign-ty-semantic-fail.rs ast: normalize ForeignItemKind::Ty & AssocItemKind::TyAlias. 2020-02-15 18:00:01 +01:00
foreign-ty-semantic-fail.stderr ast: normalize ForeignItemKind::Ty & AssocItemKind::TyAlias. 2020-02-15 18:00:01 +01:00
foreign-ty-syntactic-pass.rs ast: normalize ForeignItemKind::Ty & AssocItemKind::TyAlias. 2020-02-15 18:00:01 +01: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-item-const-pass.rs Use Option in ImplItemKind::Const. 2019-12-12 17:54:48 +01:00
impl-item-const-semantic-fail.rs Use Option in ImplItemKind::Const. 2019-12-12 17:54:48 +01:00
impl-item-const-semantic-fail.stderr Use Option in ImplItemKind::Method. 2019-12-12 17:54:48 +01:00
impl-item-fn-no-body-pass.rs Use Option in ImplItemKind::Method. 2019-12-12 17:54:48 +01:00
impl-item-fn-no-body-semantic-fail.rs Use Option in ImplItemKind::Method. 2019-12-12 17:54:48 +01:00
impl-item-fn-no-body-semantic-fail.stderr Use Option in ImplItemKind::Method. 2019-12-12 17:54:48 +01:00
impl-item-type-no-body-pass.rs Unify {Trait,Impl}ItemKind::TyAlias structures. 2019-12-12 17:54:48 +01:00
impl-item-type-no-body-semantic-fail.rs ast: normalize ForeignItemKind::Ty & AssocItemKind::TyAlias. 2020-02-15 18:00:01 +01:00
impl-item-type-no-body-semantic-fail.stderr ast: normalize ForeignItemKind::Ty & AssocItemKind::TyAlias. 2020-02-15 18:00:01 +01:00
impl-parsing.rs parse: tweak diagnostic wordings 2020-02-24 00:59:38 +01:00
impl-parsing.stderr parse: tweak diagnostic wordings 2020-02-24 00:59:38 +01: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-in-trait-def.rs parser: unify item list parsing. 2020-02-13 15:16:29 +01: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: address review comments re. self. 2020-02-02 13:32:37 +01:00
inverted-parameters.stderr parser: address review comments re. self. 2020-02-02 13:32:37 +01: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 tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05:00
issue-2354-1.stderr tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05:00
issue-2354.rs tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05:00
issue-2354.stderr tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05: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 parse: use parse_item_common in parse_assoc_item_. 2020-02-24 00:59:38 +01: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 tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05:00
issue-10636-1.stderr tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05: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 Move generic arg / param validation to create_substs_for_generic_args 2020-02-22 00:28:18 +00:00
issue-14303-fncall.stderr Add note regarding argument ordering 2020-02-22 11:34:29 +00: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 Move generic arg / param validation to create_substs_for_generic_args 2020-02-22 00:28:18 +00:00
issue-14303-path.stderr Add note regarding argument ordering 2020-02-22 11:34:29 +00: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08:00
issue-15980.stderr Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08:00
issue-17383.rs Implement arbitrary_enum_discriminant 2019-06-21 11:00:10 -04:00
issue-17383.stderr --bless --compare-mode=nll 2020-02-09 20:43:49 +01: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08:00
issue-19398.rs parse: use parse_item_common in parse_assoc_item_. 2020-02-24 00:59:38 +01:00
issue-19398.stderr parse: use parse_item_common in parse_assoc_item_. 2020-02-24 00:59:38 +01:00
issue-20711-2.rs parser: misc small item related improvements & cleanups. 2020-02-13 16:29:10 +01:00
issue-20711-2.stderr parse: use parse_item_common in parse_assoc_item_. 2020-02-24 00:59:38 +01:00
issue-20711.rs parser: misc small item related improvements & cleanups. 2020-02-13 16:29:10 +01:00
issue-20711.stderr parse: use parse_item_common in parse_assoc_item_. 2020-02-24 00:59:38 +01:00
issue-21153.rs parse: use parse_item_common in parse_assoc_item_. 2020-02-24 00:59:38 +01:00
issue-21153.stderr parse: use parse_item_common in parse_assoc_item_. 2020-02-24 00:59:38 +01:00
issue-22647.rs parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
issue-22647.stderr Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08:00
issue-22712.rs parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
issue-22712.stderr Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08:00
issue-23620-invalid-escapes.rs Remove -Z continue-parse-after-error 2020-01-08 21:48:04 +03:00
issue-23620-invalid-escapes.stderr Remove -Z continue-parse-after-error 2020-01-08 21:48:04 +03:00
issue-24197.rs parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
issue-24197.stderr Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08:00
issue-24780.rs parser: merge fn grammars wrt. bodies & headers 2020-02-05 01:27:09 +01:00
issue-24780.stderr parser: merge fn grammars wrt. bodies & headers 2020-02-05 01:27:09 +01: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 parse: use parse_item_common in parse_assoc_item_. 2020-02-24 00:59:38 +01: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 Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
issue-33418.fixed parse_generic_bounds: account for negative lifetime bounds 2019-12-21 19:20:41 +01:00
issue-33418.rs parse_generic_bounds: account for negative lifetime bounds 2019-12-21 19:20:41 +01:00
issue-33418.stderr span_suggestion_hidden -> tool_only_span_suggestion 2019-12-21 19:20:41 +01: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08:00
issue-35813-postfix-after-cast.rs Use multipart suggestion 2020-02-22 12:33:06 -08:00
issue-35813-postfix-after-cast.stderr Use multipart suggestion 2020-02-22 12:33:06 -08:00
issue-41155.rs parse: tweak diagnostic wordings 2020-02-24 00:59:38 +01:00
issue-41155.stderr parse: tweak diagnostic wordings 2020-02-24 00:59:38 +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-48137-macros-cannot-interpolate-impl-items-bad-variants.rs parse: test bad variants wrt. issue 48137. 2020-02-24 00:59:38 +01:00
issue-48137-macros-cannot-interpolate-impl-items-bad-variants.stderr parse: test bad variants wrt. issue 48137. 2020-02-24 00:59:38 +01:00
issue-48137-macros-cannot-interpolate-impl-items.rs parse: NtItem -> parse_item_common. 2020-02-24 00:59:38 +01:00
issue-58094-missing-right-square-bracket.rs Apply suggestion from Centril 2019-11-15 23:54:52 +09:00
issue-58094-missing-right-square-bracket.stderr parser: misc small item related improvements & cleanups. 2020-02-13 16:29:10 +01: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-62524.rs add a unit test for #62524 2019-11-15 08:34:34 +08:00
issue-62524.stderr Avoid ICE in macro's diagnostics 2020-01-29 18:03:45 +09:00
issue-62546.rs tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05:00
issue-62546.stderr tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05:00
issue-62660.rs Don't drop DiagnosticBuilder if parsing fails 2019-07-13 19:46:13 -05:00
issue-62660.stderr Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08:00
issue-62881.rs tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05:00
issue-62881.stderr tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05:00
issue-62894.rs Add test for issue-62894 2020-02-16 03:22:00 +09:00
issue-62894.stderr Add test for issue-62894 2020-02-16 03:22:00 +09:00
issue-62895.rs review comments 2019-07-23 12:51:34 -07:00
issue-62895.stderr Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
issue-62913.rs Remove -Z continue-parse-after-error 2020-01-08 21:48:04 +03:00
issue-62913.stderr Remove -Z continue-parse-after-error 2020-01-08 21:48:04 +03:00
issue-62973.rs Update tests 2020-01-09 21:23:12 +03:00
issue-62973.stderr Update tests 2020-01-09 21:23:12 +03:00
issue-63115-range-pat-interpolated.rs Introduce #![feature(half_open_range_patterns)]. 2020-01-10 07:29:04 +01:00
issue-63116.rs Add test for issue 63116 2019-11-16 22:32:59 +00:00
issue-63116.stderr tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05:00
issue-63135.rs parser: merge fn grammars wrt. bodies & headers 2020-02-05 01:27:09 +01:00
issue-63135.stderr parser: merge fn grammars wrt. bodies & headers 2020-02-05 01:27:09 +01:00
issue-65041-empty-vis-matcher-in-enum.rs syntactically allow visibility on trait item & enum variant 2019-11-11 06:33:09 +01:00
issue-65041-empty-vis-matcher-in-trait.rs syntactically allow visibility on trait item & enum variant 2019-11-11 06:33:09 +01: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 rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +02:00
issue-65257-invalid-var-decl-recovery.rs tweak var/auto/mut recovery 2019-12-20 22:53:40 +01:00
issue-65257-invalid-var-decl-recovery.stderr tweak var/auto/mut recovery 2019-12-20 22:53:40 +01:00
issue-65846-rollback-gating-failing-matcher.rs rollback gating for failing macro matchers 2019-11-06 12:30:08 +01:00
issue-66357-unexpected-unreachable.rs Introduce #![feature(half_open_range_patterns)]. 2020-01-10 07:29:04 +01:00
issue-66357-unexpected-unreachable.stderr Introduce #![feature(half_open_range_patterns)]. 2020-01-10 07:29:04 +01:00
issue-67146-negative-outlives-bound-syntactic-fail.rs parse_generic_bounds: account for negative lifetime bounds 2019-12-21 19:20:41 +01:00
issue-67146-negative-outlives-bound-syntactic-fail.stderr span_suggestion_hidden -> tool_only_span_suggestion 2019-12-21 19:20:41 +01:00
issue-68629.rs Avoid ICE in macro's diagnostics 2020-01-29 18:03:45 +09:00
issue-68629.stderr Avoid ICE in macro's diagnostics 2020-01-29 18:03:45 +09:00
issue-68730.rs Use next_point to avoid ICE 2020-02-02 02:39:53 +09:00
issue-68730.stderr stop using BytePos for computing spans in librustc_parse/parser/mod.rs 2020-02-04 23:04:29 -05:00
issue-68788-in-trait-item-propagation.rs ast_validation: fix visiting bug. 2020-02-05 12:27:45 +01:00
issue-68890.rs [parser] change an instance of span_bug() to struct_span_err() to avoid ICE 2020-02-09 23:02:02 -05:00
issue-68890.stderr [parser] change an instance of span_bug() to struct_span_err() to avoid ICE 2020-02-09 23:02:02 -05:00
item-free-const-no-body-semantic-fail.rs ast: make = <expr>; optional in free statics/consts. 2020-02-15 20:57:12 +01:00
item-free-const-no-body-semantic-fail.stderr ast: make = <expr>; optional in free statics/consts. 2020-02-15 20:57:12 +01:00
item-free-const-no-body-syntactic-pass.rs ast: make = <expr>; optional in free statics/consts. 2020-02-15 20:57:12 +01:00
item-free-static-no-body-semantic-fail.rs ast: make = <expr>; optional in free statics/consts. 2020-02-15 20:57:12 +01:00
item-free-static-no-body-semantic-fail.stderr ast: make = <expr>; optional in free statics/consts. 2020-02-15 20:57:12 +01:00
item-free-static-no-body-syntactic-pass.rs ast: make = <expr>; optional in free statics/consts. 2020-02-15 20:57:12 +01:00
item-free-type-bounds-semantic-fail.rs parse: allow type Foo: Ord syntactically. 2020-02-22 00:19:27 +01:00
item-free-type-bounds-semantic-fail.stderr parse: allow type Foo: Ord syntactically. 2020-02-22 00:19:27 +01:00
item-free-type-bounds-syntactic-pass.rs parse: allow type Foo: Ord syntactically. 2020-02-22 00:19:27 +01: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 Remove -Z continue-parse-after-error 2020-01-08 21:48:04 +03:00
lex-bad-char-literals-1.stderr Remove -Z continue-parse-after-error 2020-01-08 21:48:04 +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 Point at type in let assignment on type errors 2019-11-21 19:24:31 -08:00
lex-bad-char-literals-7.rs Remove -Z continue-parse-after-error 2020-01-08 21:48:04 +03:00
lex-bad-char-literals-7.stderr Remove -Z continue-parse-after-error 2020-01-08 21:48:04 +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 Remove -Z continue-parse-after-error 2020-01-08 21:48:04 +03:00
lex-bare-cr-string-literal-doc-comment.stderr Remove -Z continue-parse-after-error 2020-01-08 21:48:04 +03: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-recover.rs parser: recover on &'lifetime mut $pat. 2019-12-13 02:36:25 +01:00
lifetime-in-pattern-recover.stderr parser: recover on &'lifetime mut $pat. 2019-12-13 02:36:25 +01:00
lifetime-in-pattern.rs parser: recover on &'lifetime mut $pat. 2019-12-13 02:36:25 +01:00
lifetime-in-pattern.stderr parser: recover on &'lifetime mut $pat. 2019-12-13 02:36:25 +01: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08:00
macro-bad-delimiter-ident.rs syntax: Introduce a struct MacArgs for macro arguments 2019-12-02 21:56:34 +03:00
macro-bad-delimiter-ident.stderr syntax: Introduce a struct MacArgs for macro arguments 2019-12-02 21:56:34 +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 tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05:00
macro-mismatched-delim-brace-paren.stderr tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05:00
macro-mismatched-delim-paren-brace.rs tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05:00
macro-mismatched-delim-paren-brace.stderr tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05: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 fix an ICE in macro's diagnostic message 2019-11-11 22:21:16 +08: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08:00
match-refactor-to-expr.stderr Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08:00
mbe_missing_right_paren.rs fix an ICE in macro's diagnostic message 2019-11-11 22:21:16 +08:00
mbe_missing_right_paren.stderr parser: Keep current and previous tokens precisely 2020-02-10 00:08:53 +03:00
mismatched-delim-brace-empty-block.rs tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05:00
mismatched-delim-brace-empty-block.stderr tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05:00
missing-semicolon.rs macro_legacy_warnings -> error 2020-02-13 13:59:49 +01:00
missing-semicolon.stderr macro_legacy_warnings -> error 2020-02-13 13:59:49 +01:00
missing_right_paren.rs parser: merge fn grammars wrt. bodies & headers 2020-02-05 01:27:09 +01:00
missing_right_paren.stderr parser: merge fn grammars wrt. bodies & headers 2020-02-05 01:27:09 +01: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_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_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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08:00
mut-patterns.rs parse: recover mut (x @ y) as (mut x @ mut y). 2020-02-17 16:08:13 +01:00
mut-patterns.stderr parse: recover mut (x @ y) as (mut x @ mut y). 2020-02-17 16:08:13 +01: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 parser: merge fn grammars wrt. bodies & headers 2020-02-05 01:27:09 +01:00
no-const-fn-in-extern-block.stderr parser: merge fn grammars wrt. bodies & headers 2020-02-05 01:27:09 +01: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 parser: merge fn grammars wrt. bodies & headers 2020-02-05 01:27:09 +01:00
numeric-lifetime.rs review comments 2019-03-09 11:08:51 -08:00
numeric-lifetime.stderr Point at type in let assignment on type errors 2019-11-21 19:24:31 -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: address review comments re. self. 2020-02-02 13:32:37 +01: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 parser::pat: remove .fatal calls 2019-12-31 04:33:34 +01: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 parser: address review comments re. self. 2020-02-02 13:32:37 +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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08:00
pat-lt-bracket-6.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
pat-lt-bracket-6.stderr slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01: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 Refactor 'parse_enum_item' to use 'parse_delim_comma_seq' 2019-11-26 19:24:36 +01: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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
pub-method-macro.rs parser: misc small item related improvements & cleanups. 2020-02-13 16:29:10 +01:00
pub-method-macro.stderr parser: misc small item related improvements & cleanups. 2020-02-13 16:29:10 +01:00
qualified-path-in-turbofish.fixed Improve wording and docs for qualified path recovery 2020-02-01 19:38:52 +00:00
qualified-path-in-turbofish.rs Improve wording and docs for qualified path recovery 2020-02-01 19:38:52 +00:00
qualified-path-in-turbofish.stderr Improve wording and docs for qualified path recovery 2020-02-01 19:38:52 +00: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08:00
range_inclusive.rs Ban ...X pats, harden tests, and improve diagnostics. 2020-01-11 08:58:58 +01:00
range_inclusive.stderr Ban ...X pats, harden tests, and improve diagnostics. 2020-01-11 08:58:58 +01: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
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 Update UI tests 2020-02-28 16:01:04 +01:00
raw-byte-string-literals.rs Remove -Z continue-parse-after-error 2020-01-08 21:48:04 +03: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 Update UI tests 2020-02-28 16:01:04 +01:00
recover-enum.rs Refactor 'parse_enum_item' to use 'parse_delim_comma_seq' 2019-11-26 19:24:36 +01:00
recover-enum.stderr Refactor 'parse_enum_item' to use 'parse_delim_comma_seq' 2019-11-26 19:24:36 +01:00
recover-enum2.rs fix tidy 2019-05-31 13:50:04 -07:00
recover-enum2.stderr Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 Surround types with backticks in type errors 2019-11-18 11:03:04 -08: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 --bless --compare-mode=nll 2020-02-09 20:43:49 +01:00
recover-from-homoglyph.rs Allow lexer to recover from some homoglyphs 2019-07-24 16:10:42 -07:00
recover-from-homoglyph.stderr Point at type in let assignment on type errors 2019-11-21 19:24:31 -08:00
recover-labeled-non-block-expr.rs add recovery to parse_labeled_expr 2019-12-20 22:41:29 +01:00
recover-labeled-non-block-expr.stderr add recovery to parse_labeled_expr 2019-12-20 22:41:29 +01:00
recover-missing-semi.rs Use heuristics to recover parsing of missing ; 2019-10-28 10:53:13 -07:00
recover-missing-semi.stderr Point at type in let assignment on type errors 2019-11-21 19:24:31 -08:00
recover-range-pats.rs Ban ...X pats, harden tests, and improve diagnostics. 2020-01-11 08:58:58 +01:00
recover-range-pats.stderr rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. 2020-02-06 21:46:38 +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 Point at type in let assignment on type errors 2019-11-21 19:24:31 -08: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
recovery-attr-on-if.rs recover #[attr] if expr {} 2019-12-20 22:53:40 +01:00
recovery-attr-on-if.stderr recover #[attr] if expr {} 2019-12-20 22:53:40 +01: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08:00
removed-syntax-field-let.rs fix tidy 2019-05-31 13:50:04 -07:00
removed-syntax-field-let.stderr Rework raw ident suggestions 2019-11-23 17:06:34 -08: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 parse associated statics. 2020-02-15 20:57:12 +01:00
removed-syntax-static-fn.stderr parse: use parse_item_common in parse_assoc_item_. 2020-02-24 00:59:38 +01: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 Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08: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 Suggest a comma if a struct initializer field fails to parse 2020-02-14 22:28:13 -05:00
removed-syntax-with-2.rs Tweak field parse error recovery 2019-01-20 15:16:36 -08:00
removed-syntax-with-2.stderr Remove "here" from "expected one of X here" 2019-11-06 17:26:20 -08:00
require-parens-for-chained-comparison.rs Add suggestions when encountering chained comparisons 2020-01-11 01:56:25 +00:00
require-parens-for-chained-comparison.stderr Add suggestions when encountering chained comparisons 2020-01-11 01:56:25 +00: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 parser: address review comments re. self. 2020-02-02 13:32:37 +01:00
self-param-semantic-fail.rs parser: address review comments re. self. 2020-02-02 13:32:37 +01:00
self-param-semantic-fail.stderr parser: address review comments re. self. 2020-02-02 13:32:37 +01:00
self-param-syntactic-pass.rs parser: move restrictions re. self to ast_validation. 2020-02-02 10:33:55 +01: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
stmt_expr_attrs_placement.rs Add a UI test for correct parsing 2019-12-20 22:41:29 +01:00
stmt_expr_attrs_placement.stderr Add a UI test for correct parsing 2019-12-20 22:41:29 +01: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 Surround types with backticks in type errors 2019-11-18 11:03:04 -08: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 --bless --compare-mode=nll 2020-02-09 20:43:49 +01: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-item-with-defaultness-fail-semantic.rs Unify assoc item visitors more. 2019-12-12 18:01:33 +01:00
trait-item-with-defaultness-fail-semantic.stderr add Span to ast::Defaultness::Default. 2020-02-24 00:59:38 +01:00
trait-item-with-defaultness-pass.rs Alias TraitItem & ImplItem. 2019-12-12 17:54:48 +01: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 When encountering an undefined named lifetime, point to where it can be 2020-01-19 17:31:33 -08: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 syntactically allow visibility on trait item & enum variant 2019-11-11 06:33:09 +01: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 syntactically allow visibility on trait item & enum variant 2019-11-11 06:33:09 +01: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 syntactically allow visibility on trait item & enum variant 2019-11-11 06:33:09 +01:00
type-parameters-in-field-exprs.rs review comment: wording 2020-02-10 13:58:36 -08:00
type-parameters-in-field-exprs.stderr review comment: wording 2020-02-10 13:58:36 -08: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-braces.rs tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05:00
unclosed-braces.stderr tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05:00
unclosed-delimiter-in-dep.rs Add regression test for #58886 2019-03-06 18:46:11 -08:00
unclosed-delimiter-in-dep.stderr tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05:00
unclosed_delim_mod.rs tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05:00
unclosed_delim_mod.stderr tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05: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 --bless --compare-mode=nll 2020-02-09 20:43:49 +01:00
underscore_item_not_const.rs ast/parser: fuse static & const grammars in all contexts. 2020-02-15 20:57:12 +01:00
underscore_item_not_const.stderr ast/parser: fuse static & const grammars in all contexts. 2020-02-15 20:57:12 +01: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 tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05:00
unmatched-delimiter-at-end-of-file.stderr tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05: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
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
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 Rework raw ident suggestions 2019-11-23 17:06:34 -08: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-nested-syntactic-fail.rs De-fatalize ... parsing. 2019-12-12 18:05:05 +01:00
variadic-ffi-nested-syntactic-fail.stderr De-fatalize ... parsing. 2019-12-12 18:05:05 +01:00
variadic-ffi-semantic-restrictions.rs More c-variadic errors as semantic restrictions. 2019-12-12 18:01:33 +01:00
variadic-ffi-semantic-restrictions.stderr More c-variadic errors as semantic restrictions. 2019-12-12 18:01:33 +01:00
variadic-ffi-syntactic-pass.rs More c-variadic errors as semantic restrictions. 2019-12-12 18:01:33 +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-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
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
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