rust/src/test/ui/parser
Yiming Lei 0e19fb92e1 While parsing enum variant, the error message always disappear
Because the error message that emit out is from main error of parser
The information of enum variant disappears while parsing enum variant with error
We only check the syntax of expecting token, i.e, in case #103869
It will error it without telling the message that this error is from pasring enum variant.
Propagate the sub-error from parsing enum variant to the main error of parser by chaining it with map_err
Check the sub-error before emitting the main error of parser and attach it.
Fix #103869
2022-12-01 22:48:52 -08:00
..
char Remove debug output from test stderr 2021-11-16 08:06:30 +00:00
issues fix #104088, Slightly improve error message for invalid identifier 2022-11-15 08:58:19 +08:00
macro While parsing enum variant, the error message always disappear 2022-12-01 22:48:52 -08:00
mismatched-braces add a label to struct/enum/union ident name 2022-09-27 10:28:50 +09:00
raw Make non-ASCII errors more consistent. 2022-11-04 14:23:40 +11:00
shebang lexer: Tiny improvement to shebang detection 2020-09-02 00:40:19 +03:00
ascii-only-character-escape.rs Handle Spans for byte and raw strings and add more detail 2021-02-03 13:34:28 -08:00
ascii-only-character-escape.stderr Handle Spans for byte and raw strings and add more detail 2021-02-03 13:34:28 -08: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 bless all 2020-06-16 11:56:54 +02:00
assoc-static-semantic-fail.stderr bless ui tests 2022-10-01 10:03:06 +00: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 Accept arbitrary expressions in key-value attributes at parse time 2020-12-09 21:37:32 +03:00
attr-bad-meta-2.stderr Accept arbitrary expressions in key-value attributes at parse time 2020-12-09 21:37:32 +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 Stabilize half_open_range_patterns 2022-10-08 11:00:13 +02:00
attr-stmt-expr-attr-bad.stderr Stabilize half_open_range_patterns 2022-10-08 11:00:13 +02:00
attr-with-a-semicolon.rs suggest removing a semicolon after derive attributes 2022-03-06 01:28:35 +09:00
attr-with-a-semicolon.stderr diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
attr.rs Stop flagging certain inner attrs as outer ones 2022-04-06 19:54:05 +02:00
attr.stderr diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
attribute-with-no-generics-in-parameter-list.rs Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
attribute-with-no-generics-in-parameter-list.stderr Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
attrs-after-extern-mod.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
attrs-after-extern-mod.stderr Update tests for extern block linting 2021-01-13 07:49:16 -05:00
bad-char-literals.rs Handle Spans for byte and raw strings and add more detail 2021-02-03 13:34:28 -08:00
bad-char-literals.stderr Handle Spans for byte and raw strings and add more detail 2021-02-03 13:34:28 -08:00
bad-crate-name.rs Move some tests to more reasonable directories - 6 2021-04-17 18:53:54 -03:00
bad-crate-name.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
bad-escape-suggest-raw-string.rs suggest using raw string literals when invalid escapes appear 2022-02-14 15:11:38 -05:00
bad-escape-suggest-raw-string.stderr suggest using raw string literals when invalid escapes appear 2022-02-14 15:11:38 -05:00
bad-fn-ptr-qualifier.fixed Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09:00
bad-fn-ptr-qualifier.rs Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09:00
bad-fn-ptr-qualifier.stderr Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09:00
bad-if-statements.rs Improve parsing errors and suggestions for bad if statements 2022-06-13 20:53:48 -07:00
bad-if-statements.stderr Improve parsing errors and suggestions for bad if statements 2022-06-13 20:53:48 -07:00
bad-interpolated-block.rs Stabilize #![feature(label_break_value)] 2022-08-23 21:14:12 -05:00
bad-interpolated-block.stderr Stabilize #![feature(label_break_value)] 2022-08-23 21:14:12 -05:00
bad-let-as-field.rs Fix let removal suggestion in struct 2022-10-11 17:35:50 +00:00
bad-let-as-field.stderr Fix let removal suggestion in struct 2022-10-11 17:35:50 +00:00
bad-lit-suffixes.rs Use token::Lit in ast::ExprKind::Lit. 2022-11-16 09:41:28 +11:00
bad-lit-suffixes.stderr Use token::Lit in ast::ExprKind::Lit. 2022-11-16 09:41:28 +11: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 Structured suggestion for missing mut/const in pointer 2022-09-27 02:47:07 +00:00
bad-pointer-type.stderr Structured suggestion for missing mut/const in pointer 2022-09-27 02:47:07 +00:00
bad-struct-following-where.rs better suggestion for duplicated where 2022-02-02 00:29:45 -08:00
bad-struct-following-where.stderr better suggestion for duplicated where 2022-02-02 00:29:45 -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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08:00
bare-struct-body.rs Detect blocks that could be struct expr bodies 2020-10-07 13:40:52 -07:00
bare-struct-body.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
bastion-of-the-turbofish.rs Move some tests to more reasonable directories 2021-11-06 15:35:20 -03: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 Fix span for incorrect pattern field and add label 2020-10-02 00:44:16 -07:00
block-no-opening-brace.rs Suggest async {} for async || {} 2020-09-22 13:22:10 -07:00
block-no-opening-brace.stderr Tweak diagnostics 2022-02-28 18:22:45 +00: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 Change syntax for TyAlias where clauses 2022-03-05 13:13:45 -05:00
bounds-lifetime-where.stderr Change syntax for TyAlias where clauses 2022-03-05 13:13:45 -05:00
bounds-lifetime.rs unify/improve/simplify attribute parsing 2020-03-10 08:35:23 +01:00
bounds-lifetime.stderr unify/improve/simplify attribute parsing 2020-03-10 08:35:23 +01:00
bounds-obj-parens.rs Make some tests check-pass 2022-05-28 18:57:02 +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 Fix more tests 2021-08-27 05:07:38 +00:00
bounds-type.stderr Fix more tests 2021-08-27 05:07:38 +00:00
byte-literals.rs Make non-ASCII errors more consistent. 2022-11-04 14:23:40 +11:00
byte-literals.stderr Make non-ASCII errors more consistent. 2022-11-04 14:23:40 +11:00
byte-string-literals.rs Make non-ASCII errors more consistent. 2022-11-04 14:23:40 +11:00
byte-string-literals.stderr Make non-ASCII errors more consistent. 2022-11-04 14:23:40 +11:00
can-begin-expr-check.rs Improves parser diagnostics, fixes #93867 2022-06-12 17:48:52 +02:00
can-begin-expr-check.stderr Improves parser diagnostics, fixes #93867 2022-06-12 17:48:52 +02:00
chained-comparison-suggestion.rs Tweak chained operators diagnostic 2020-03-25 17:13:04 -07:00
chained-comparison-suggestion.stderr Modify structured suggestion output 2021-08-11 09:46:24 +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 expand: Move module file path stack from global session to expansion data 2021-03-05 01:33:43 +03:00
circular_modules_main.stderr diagnostics: fix trailing space 2022-06-16 14:40:28 +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 more reuse in block parsing & improve diagnostics. 2020-03-10 08:32:34 +01:00
closure-return-syntax.stderr Tweak diagnostics 2022-02-28 18:22:45 +00:00
column-offset-1-based.rs unify/improve/simplify attribute parsing 2020-03-10 08:35:23 +01:00
column-offset-1-based.stderr unify/improve/simplify attribute parsing 2020-03-10 08:35:23 +01:00
const-param-decl-on-type-instead-of-impl.rs Tweak span and add more tests 2021-11-24 22:04:52 +00:00
const-param-decl-on-type-instead-of-impl.stderr Tweak span and add more tests 2021-11-24 22:04:52 +00:00
constraints-before-generic-args-syntactic-pass.rs Reenable early feature-gates as future-compat warnings 2022-08-17 06:53:18 -05:00
constraints-before-generic-args-syntactic-pass.stderr Reenable early feature-gates as future-compat warnings 2022-08-17 06:53:18 -05: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 error_bad_item_kind: add help text 2020-03-26 14:13:50 +01:00
default-unmatched-assoc.rs parse: tweak diagnostic wordings 2020-02-24 00:59:38 +01:00
default-unmatched-assoc.stderr resolve: Do not put macros into module.unexpanded_invocations unless necessary 2020-11-22 14:42:29 +03: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 Add pub as optional check_front_matter 2021-03-17 09:04:08 +08:00
default.stderr bless ui tests 2022-10-01 10:03:06 +00: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
do-not-suggest-semicolon-before-array.rs do not suggest a semicolon for a macro without ! 2022-09-07 03:59:47 +09:00
do-not-suggest-semicolon-before-array.stderr do not suggest a semicolon for a macro without ! 2022-09-07 03:59:47 +09:00
do-not-suggest-semicolon-between-macro-without-exclamation-mark-and-array.rs do not suggest a semicolon for a macro without ! 2022-09-07 03:59:47 +09:00
do-not-suggest-semicolon-between-macro-without-exclamation-mark-and-array.stderr do not suggest a semicolon for a macro without ! 2022-09-07 03:59:47 +09:00
doc-after-struct-field.rs improve E0585 help 2022-09-29 00:34:31 +08:00
doc-after-struct-field.stderr improve E0585 help 2022-09-29 00:34:31 +08: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 Update tests for extern block linting 2021-01-13 07:49:16 -05:00
doc-before-extern-rbrace.stderr improve E0585 help 2022-09-29 00:34:31 +08:00
doc-before-fn-rbrace.rs improve E0585 help 2022-09-29 00:34:31 +08:00
doc-before-fn-rbrace.stderr improve E0585 help 2022-09-29 00:34:31 +08: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 improve E0585 help 2022-09-29 00:34:31 +08:00
doc-before-rbrace.stderr improve E0585 help 2022-09-29 00:34:31 +08:00
doc-before-semi.rs improve E0585 help 2022-09-29 00:34:31 +08:00
doc-before-semi.stderr improve E0585 help 2022-09-29 00:34:31 +08:00
doc-before-struct-rbrace-1.rs improve E0585 help 2022-09-29 00:34:31 +08:00
doc-before-struct-rbrace-1.stderr improve E0585 help 2022-09-29 00:34:31 +08:00
doc-before-struct-rbrace-2.rs improve E0585 help 2022-09-29 00:34:31 +08:00
doc-before-struct-rbrace-2.stderr improve E0585 help 2022-09-29 00:34:31 +08:00
doc-comment-in-if-statement.rs parse_if_expr: recover on attributes 2020-03-10 08:55:18 +01:00
doc-comment-in-if-statement.stderr diagnostics: fix trailing space 2022-06-16 14:40:28 +03: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 Modify structured suggestion output 2021-08-11 09:46:24 +00:00
doc-inside-trait-item.rs tidy test 2019-03-13 11:53:06 +05:30
doc-inside-trait-item.stderr improve E0585 help 2022-09-29 00:34:31 +08:00
dotdotdot-expr.rs Move some tests to more reasonable directories 2021-02-16 21:22:21 -03:00
dotdotdot-expr.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
double-pointer.rs Structured suggestion for missing mut/const in pointer 2022-09-27 02:47:07 +00:00
double-pointer.stderr Structured suggestion for missing mut/const in pointer 2022-09-27 02:47:07 +00:00
duplicate-visibility.rs Improves parser diagnostics, fixes #93867 2022-06-12 17:48:52 +02:00
duplicate-visibility.stderr Improves parser diagnostics, fixes #93867 2022-06-12 17:48:52 +02:00
duplicate-where-clauses.rs better suggestion for duplicated where 2022-02-02 00:29:45 -08:00
duplicate-where-clauses.stderr better suggestion for duplicated where 2022-02-02 00:29:45 -08:00
dyn-trait-compatibility.rs Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
dyn-trait-compatibility.stderr Move some tests to more reasonable directories 2021-11-18 12:09:34 -03:00
else-no-if.rs Parse expression after else as a condition if followed by { 2022-05-23 21:09:35 -07:00
else-no-if.stderr Minor improvement on else-no-if diagnostic 2022-05-24 15:22:13 -07:00
emoji-identifiers.rs Extend emoji-identifiers ui test. 2021-12-03 01:20:42 +01:00
emoji-identifiers.stderr Delay function resolution error until typeck 2022-10-05 06:42:35 +00:00
empty-impl-semicolon.rs Recover some items that expect braces and don't take semicolons 2022-09-25 22:34:25 +00:00
empty-impl-semicolon.stderr Recover some items that expect braces and don't take semicolons 2022-09-25 22:34:25 +00:00
expr-as-stmt-2.rs Correctly parse {} && false in tail expression 2020-07-22 12:01:56 -07:00
expr-as-stmt-2.stderr Suggest .into() when all other coercion suggestions fail 2022-10-05 02:47:31 +00:00
expr-as-stmt.fixed diagnostic: suggest parens when users want logical ops, but get closures 2022-02-24 17:02:38 -07:00
expr-as-stmt.rs diagnostic: suggest parens when users want logical ops, but get closures 2022-02-24 17:02:38 -07:00
expr-as-stmt.stderr Suggest .into() when all other coercion suggestions fail 2022-10-05 02:47:31 +00:00
extern-abi-from-mac-literal-frag.rs Rename the lint to clashing_extern_declarations. 2020-06-28 10:11:29 +10: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 Update tests for extern block linting 2021-01-13 07:49:16 -05:00
extern-no-fn.stderr Update tests for extern block linting 2021-01-13 07:49:16 -05:00
float-field-interpolated.rs Add some requested tests 2020-07-02 21:05:18 +03:00
float-field-interpolated.stderr Bless tests 2021-10-15 02:36:58 -05:00
float-field.rs parser: Break float tokens into parts in tuple field positions 2020-07-02 20:35:49 +03:00
float-field.stderr rustc_parse: More precise spans for tuple.0.0 2020-10-11 02:33:49 +03:00
float-literals.rs Changed dec2flt to use the Eisel-Lemire algorithm. 2021-07-17 00:30:34 -05:00
fn-arg-doc-comment.rs Implementation for 65853 2022-04-16 02:26:56 -04:00
fn-arg-doc-comment.stderr Implementation for 65853 2022-04-16 02:26:56 -04:00
fn-body-eq-expr-semi.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
fn-body-eq-expr-semi.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
fn-body-optional-semantic-fail.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
fn-body-optional-semantic-fail.stderr Update tests for extern block linting 2021-01-13 07:49:16 -05:00
fn-body-optional-syntactic-pass.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
fn-colon-return-type.rs Gracefully handle confusing -> with : in function return type 2020-12-03 18:19:42 +01:00
fn-colon-return-type.stderr Gracefully handle confusing -> with : in function return type 2020-12-03 18:19:42 +01:00
fn-defined-using-def.rs added improved diagnostic for a function defined with an invalid qualifier 2022-08-18 16:14:04 -05:00
fn-defined-using-def.stderr added improved diagnostic for a function defined with an invalid qualifier 2022-08-18 16:14:04 -05:00
fn-defined-using-fun.rs added improved diagnostic for a function defined with an invalid qualifier 2022-08-18 16:14:04 -05:00
fn-defined-using-fun.stderr added improved diagnostic for a function defined with an invalid qualifier 2022-08-18 16:14:04 -05:00
fn-defined-using-func.rs added improved diagnostic for a function defined with an invalid qualifier 2022-08-18 16:14:04 -05:00
fn-defined-using-func.stderr added improved diagnostic for a function defined with an invalid qualifier 2022-08-18 16:14:04 -05:00
fn-defined-using-function.rs added improved diagnostic for a function defined with an invalid qualifier 2022-08-18 16:14:04 -05:00
fn-defined-using-function.stderr added improved diagnostic for a function defined with an invalid qualifier 2022-08-18 16:14:04 -05:00
fn-field-parse-error-ice.rs improve errors for incomplete functions in struct definitions 2022-09-28 01:03:18 +09:00
fn-field-parse-error-ice.stderr improve errors for incomplete functions in struct definitions 2022-09-28 01:03:18 +09:00
fn-header-semantic-fail.rs Bless tests, fix ICE with ImplTraitPlaceholder 2022-09-09 01:31:45 +00:00
fn-header-semantic-fail.stderr Clean up query descriptions 2022-10-18 17:29:42 +02:00
fn-header-syntactic-pass.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
fn-returns-fn-pointer.rs Add regression test 2020-10-29 08:32:13 -07:00
foreign-const-semantic-fail.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
foreign-const-semantic-fail.stderr Update tests for extern block linting 2021-01-13 07:49:16 -05:00
foreign-const-syntactic-fail.rs Update tests for extern block linting 2021-01-13 07:49:16 -05: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 Update tests for extern block linting 2021-01-13 07:49:16 -05:00
foreign-static-semantic-fail.stderr Update tests for extern block linting 2021-01-13 07:49:16 -05:00
foreign-static-syntactic-pass.rs Update tests for extern block linting 2021-01-13 07:49:16 -05: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-block-unreachable-expr.rs Improve parsing errors and suggestions for bad if statements 2022-06-13 20:53:48 -07:00
if-in-in.fixed Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09:00
if-in-in.rs Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09:00
if-in-in.stderr Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09: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 Stabilize GATs 2022-08-30 23:06:24 -04:00
impl-item-type-no-body-semantic-fail.stderr Stabilize GATs 2022-08-30 23:06:24 -04: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 Make some tests check-pass 2022-05-28 18:57:02 +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 Add a note for * and {} usage on use 2021-01-08 17:36:14 +09: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 Add a note for * and {} usage on use 2021-01-08 17:36:14 +09: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 Add a note for * and {} usage on use 2021-01-08 17:36:14 +09: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 Add a note for * and {} usage on use 2021-01-08 17:36:14 +09:00
increment-autofix.fixed Fix from rebase 2022-03-27 13:54:34 -07:00
increment-autofix.rs Fix from rebase 2022-03-27 13:54:34 -07:00
increment-autofix.stderr diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
increment-notfixed.rs Fix from rebase 2022-03-27 13:54:34 -07:00
increment-notfixed.stderr A SubstitutionPart is not a deletion if it replaces nothing with nothing 2022-09-12 22:08:30 +00: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 Rework "inner attribute not permitted" errors 2022-09-27 20:29:19 +02: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 fix one more case of trailing space 2022-06-16 14:40:29 +03: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 Fix whitespace in pretty printed PatKind::Range 2021-12-29 13:02:14 -08:00
intersection-patterns.stderr Fix whitespace in pretty printed PatKind::Range 2021-12-29 13:02:14 -08:00
inverted-parameters.rs Fix wording for anonymous parameter name help 2020-06-27 22:55:42 -05:00
inverted-parameters.stderr Use smaller spans for some structured suggestions 2021-08-12 09:52:38 +00:00
issue-17718-parse-const.rs Move some tests to more reasonable directories 2022-10-13 12:32:58 -03:00
issue-61858.rs Move some tests to more reasonable directories 2022-04-21 12:24:26 -03:00
issue-61858.stderr Improve parsing errors and suggestions for bad if statements 2022-06-13 20:53:48 -07:00
issue-68091-unicode-ident-after-if.rs Improve parsing errors and suggestions for bad if statements 2022-06-13 20:53:48 -07:00
issue-68091-unicode-ident-after-if.stderr Improve parsing errors and suggestions for bad if statements 2022-06-13 20:53:48 -07:00
issue-68092-unicode-ident-after-incomplete-expr.rs Move some tests to more reasonable places 2022-05-28 18:38:34 -03:00
issue-68092-unicode-ident-after-incomplete-expr.stderr Move some tests to more reasonable places 2022-05-28 18:38:34 -03:00
issue-81804.rs Add regression test for #81804 2022-05-16 19:34:30 +09:00
issue-81804.stderr Add regression test for #81804 2022-05-16 19:34:30 +09:00
issue-81827.rs Add regression test for #81827 2022-05-21 02:17:29 +09:00
issue-81827.stderr Add regression test for #81827 2022-05-21 02:17:29 +09:00
issue-87694-duplicated-pub.rs Update test to new error message 2021-12-13 21:36:35 +01:00
issue-87694-duplicated-pub.stderr Update test to new error message 2021-12-13 21:36:35 +01:00
issue-87694-misplaced-pub.rs Add tests for misplaced/duplicated pub in fn decl 2021-12-13 21:36:35 +01:00
issue-87694-misplaced-pub.stderr Fix broken span and related tests 2021-12-13 21:36:35 +01:00
issue-90728.rs Fix float ICE 2021-11-20 16:41:36 +01:00
issue-90728.stderr Fix float ICE 2021-11-20 16:41:36 +01:00
issue-91421.rs Improve parsing errors and suggestions for bad if statements 2022-06-13 20:53:48 -07:00
issue-91421.stderr Improve parsing errors and suggestions for bad if statements 2022-06-13 20:53:48 -07:00
issue-99625-enum-struct-mutually-exclusive.fixed Add ui test for #99625 2022-07-29 13:57:04 +03:00
issue-99625-enum-struct-mutually-exclusive.rs Add ui test for #99625 2022-07-29 13:57:04 +03:00
issue-99625-enum-struct-mutually-exclusive.stderr Add ui test for #99625 2022-07-29 13:57:04 +03:00
issue-99910-const-let-mutually-exclusive.fixed Add ui test for #99910 2022-08-04 01:23:24 +03:00
issue-99910-const-let-mutually-exclusive.rs Add ui test for #99910 2022-08-04 01:23:24 +03:00
issue-99910-const-let-mutually-exclusive.stderr Add ui test for #99910 2022-08-04 01:23:24 +03:00
issue-100197-mut-let.fixed Add ui test for #100197 2022-08-09 00:55:48 +03:00
issue-100197-mut-let.rs Add ui test for #100197 2022-08-09 00:55:48 +03:00
issue-100197-mut-let.stderr Add ui test for #100197 2022-08-09 00:55:48 +03:00
issue-101477-enum.fixed fixes #101477: Recover from typo where == is used in place of = 2022-09-08 15:14:18 +08:00
issue-101477-enum.rs fixes #101477: Recover from typo where == is used in place of = 2022-09-08 15:14:18 +08:00
issue-101477-enum.stderr While parsing enum variant, the error message always disappear 2022-12-01 22:48:52 -08:00
issue-101477-let.fixed fixes #101477: Recover from typo where == is used in place of = 2022-09-08 15:14:18 +08:00
issue-101477-let.rs fixes #101477: Recover from typo where == is used in place of = 2022-09-08 15:14:18 +08:00
issue-101477-let.stderr fixes #101477: Recover from typo where == is used in place of = 2022-09-08 15:14:18 +08:00
issue-102806.rs fake a base to suppress later extra error message 2022-11-04 19:32:32 +08:00
issue-102806.stderr fake a base to suppress later extra error message 2022-11-04 19:32:32 +08:00
issue-103143.rs fix assertion failed for break_last_token and trailing token 2022-10-20 20:16:27 +08:00
issue-103143.stderr fix assertion failed for break_last_token and trailing token 2022-10-20 20:16:27 +08:00
issue-103381.fixed fix #103381, Detect incorrect chaining of if and if let conditions 2022-11-15 08:53:17 +08:00
issue-103381.rs fix #103381, Detect incorrect chaining of if and if let conditions 2022-11-15 08:53:17 +08:00
issue-103381.stderr fix #103381, Detect incorrect chaining of if and if let conditions 2022-11-15 08:53:17 +08:00
issue-103425.rs fix #103425, remove extra type error after missing semicolon error 2022-10-24 09:20:07 +08:00
issue-103425.stderr fix #103425, remove extra type error after missing semicolon error 2022-10-24 09:20:07 +08:00
issue-103451.rs Fix #103451, find_width_of_character_at_span return width with 1 when reaching end 2022-10-25 21:16:12 +08:00
issue-103451.stderr Fix #103451, find_width_of_character_at_span return width with 1 when reaching end 2022-10-25 21:16:12 +08:00
issue-103748-ICE-wrong-braces.rs Add domain size check to fix ICE 2022-11-09 10:19:23 -06:00
issue-103748-ICE-wrong-braces.stderr Add domain size check to fix ICE 2022-11-09 10:19:23 -06:00
issue-103869.rs While parsing enum variant, the error message always disappear 2022-12-01 22:48:52 -08:00
issue-103869.stderr While parsing enum variant, the error message always disappear 2022-12-01 22:48:52 -08:00
issue-104620.rs Fix an ICE parsing a malformed attribute. 2022-11-23 12:11:14 +11:00
issue-104620.stderr Fix an ICE parsing a malformed attribute. 2022-11-23 12:11:14 +11:00
item-free-const-no-body-semantic-fail.rs Add regression test for ice 89574 2021-10-06 02:35:31 +01:00
item-free-const-no-body-semantic-fail.stderr Improve diagnostics for const a: = expr; 2022-08-05 16:19:28 +04: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 Add regression test for ice 89574 2021-10-06 02:35:31 +01:00
item-free-static-no-body-semantic-fail.stderr Improve diagnostics for const a: = expr; 2022-08-05 16:19:28 +04: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
item-kw-case-mismatch.fixed Recover wrong cased keywords starting functions 2022-10-01 10:08:53 +00:00
item-kw-case-mismatch.rs Recover wrong cased keywords starting functions 2022-10-01 10:08:53 +00:00
item-kw-case-mismatch.stderr Recover wrong cased keywords starting functions 2022-10-01 10:08:53 +00:00
item-needs-block.rs Recover some items that expect braces and don't take semicolons 2022-09-25 22:34:25 +00:00
item-needs-block.stderr Recover some items that expect braces and don't take semicolons 2022-09-25 22:34:25 +00:00
keyword-abstract.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-abstract.stderr Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08:00
keyword-box-as-identifier.rs Suggest escaping box as identifier 2022-06-08 06:17:25 +00:00
keyword-box-as-identifier.stderr Suggest escaping box as identifier 2022-06-08 06:17:25 +00: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08:00
keyword-final.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-final.stderr Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08:00
keyword-typeof.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-typeof.stderr Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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
kw-in-trait-bounds.rs add a silly test for keywords in trait bounds recovery 2022-07-29 23:28:31 +04:00
kw-in-trait-bounds.stderr Merge conflicts and rebase onto master 2022-11-05 18:05:44 +00:00
label-after-block-like.rs Don't silently eat label before block in block-like expr 2022-11-04 21:35:58 +00:00
label-after-block-like.stderr Don't silently eat label before block in block-like expr 2022-11-04 21:35:58 +00:00
label-is-actually-char.rs Recover unclosed char literal being parsed as lifetime 2022-10-22 06:57:12 +00:00
label-is-actually-char.stderr Recover unclosed char literal being parsed as lifetime 2022-10-22 06:57:12 +00:00
labeled-no-colon-expr.rs Stabilize #![feature(label_break_value)] 2022-08-23 21:14:12 -05:00
labeled-no-colon-expr.stderr Stabilize #![feature(label_break_value)] 2022-08-23 21:14:12 -05:00
let-binop.fixed Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09:00
let-binop.rs Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09:00
let-binop.stderr Improve the wording for the can't reassign error 2021-03-13 06:06:54 +09: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 Use smaller spans for some structured suggestions 2021-08-12 09:52:38 +00:00
lifetime-semicolon.fixed Improves parser diagnostics, fixes #93867 2022-06-12 17:48:52 +02:00
lifetime-semicolon.rs Improves parser diagnostics, fixes #93867 2022-06-12 17:48:52 +02:00
lifetime-semicolon.stderr Improves parser diagnostics, fixes #93867 2022-06-12 17:48:52 +02:00
lifetime_starts_expressions.rs Require parentheses to avoid confusions around labeled break and loop expressions 2021-07-31 19:10:58 +02:00
lifetime_starts_expressions.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00: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-braces-dot-question.rs Add negative test in macro-braces-dot-question.rs. 2021-09-13 17:50:59 +02: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08: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 Point at unclosed delimiters as part of the primary MultiSpan 2021-08-27 14:24:47 +00: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 Point at unclosed delimiters as part of the primary MultiSpan 2021-08-27 14:24:47 +00: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 Modify structured suggestion output 2021-08-11 09:46:24 +00:00
macros-no-semicolon.rs fix code to suggest ; on parse error 2021-07-24 10:58:55 -07:00
macros-no-semicolon.stderr fix code to suggest ; on parse error 2021-07-24 10:58:55 -07:00
match-arm-without-braces.rs Recover missing comma after match arm 2022-06-07 02:19:51 -07:00
match-arm-without-braces.stderr Recover missing comma after match arm 2022-06-07 02:19:51 -07: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 Modify structured suggestion output 2021-08-11 09:46:24 +00:00
match-refactor-to-expr.fixed Tweak diagnostics 2022-02-28 18:22:45 +00:00
match-refactor-to-expr.rs Tweak diagnostics 2022-02-28 18:22:45 +00:00
match-refactor-to-expr.stderr Tweak diagnostics 2022-02-28 18:22:45 +00: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 Modify structured suggestion output 2021-08-11 09:46:24 +00: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 fix one more case of trailing space 2022-06-16 14:40:29 +03:00
missing-closing-angle-bracket-eq-constraint.rs add and update tests 2021-01-22 17:07:27 +01:00
missing-closing-angle-bracket-eq-constraint.stderr add new emit_inference_failure_err 2022-06-02 10:19:15 +02:00
missing-closing-angle-bracket-struct-field-ty.rs Provide suggestion for missing > in a type parameter list 2022-03-27 02:50:04 +00:00
missing-closing-angle-bracket-struct-field-ty.stderr add a label to struct/enum/union ident name 2022-09-27 10:28:50 +09:00
missing-semicolon.rs Fix tests 2021-08-30 20:18:44 -05:00
missing-semicolon.stderr Bless tests 2021-10-15 02:36:58 -05:00
missing_right_paren.rs parser: merge fn grammars wrt. bodies & headers 2020-02-05 01:27:09 +01:00
missing_right_paren.stderr Do not add ; to expected tokens list when it's wrong 2021-12-04 11:05:30 -07:00
misspelled-macro-rules.fixed Add a suggestion if macro_rules is misspelled 2021-11-28 23:10:37 +01:00
misspelled-macro-rules.rs Add a suggestion if macro_rules is misspelled 2021-11-28 23:10:37 +01:00
misspelled-macro-rules.stderr Add a suggestion if macro_rules is misspelled 2021-11-28 23:10:37 +01:00
mod_file_not_exist.rs Clarify message about unresolved use 2020-09-01 18:38:14 +01:00
mod_file_not_exist.stderr E0583: Include secondary path in error message 2021-05-06 09:40:05 +08:00
mod_file_not_exist_windows.rs Clarify message about unresolved use 2020-09-01 18:38:14 +01:00
mod_file_not_exist_windows.stderr E0583: Include secondary path in error message 2021-05-06 09:40:05 +08: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 tweak outline module parsing spans 2020-03-18 15:08:25 +01:00
multibyte-char-use-seperator-issue-80134.rs Stablize non_ascii_idents feature. 2021-04-08 02:52:00 +08:00
multibyte-char-use-seperator-issue-80134.stderr Stablize non_ascii_idents feature. 2021-04-08 02:52:00 +08: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 Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08:00
nested-missing-closing-angle-bracket.rs add and update tests 2021-01-22 17:07:27 +01:00
nested-missing-closing-angle-bracket.stderr add and update tests 2021-01-22 17:07:27 +01:00
new-unicode-escapes-1.rs Handle Spans for byte and raw strings and add more detail 2021-02-03 13:34:28 -08:00
new-unicode-escapes-1.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
new-unicode-escapes-2.rs Handle Spans for byte and raw strings and add more detail 2021-02-03 13:34:28 -08:00
new-unicode-escapes-2.stderr Handle Spans for byte and raw strings and add more detail 2021-02-03 13:34:28 -08: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 Handle Spans for byte and raw strings and add more detail 2021-02-03 13:34:28 -08:00
new-unicode-escapes-4.rs Handle Spans for byte and raw strings and add more detail 2021-02-03 13:34:28 -08:00
new-unicode-escapes-4.stderr Handle Spans for byte and raw strings and add more detail 2021-02-03 13:34:28 -08:00
no-binary-float-literal.rs Update error to reflect that integer literals can have float suffixes 2020-11-27 19:08:24 -08:00
no-binary-float-literal.stderr Update error to reflect that integer literals can have float suffixes 2020-11-27 19:08:24 -08:00
no-const-fn-in-extern-block.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
no-const-fn-in-extern-block.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00: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 Gracefully handle confusing -> with : in function return type 2020-12-03 18:19:42 +01:00
not-a-pred.stderr Gracefully handle confusing -> with : in function return type 2020-12-03 18:19:42 +01:00
nt-parsing-has-recovery.rs expand: add recovery for parse_nt 2020-03-24 06:28:56 +01:00
nt-parsing-has-recovery.stderr expand: add recovery for parse_nt 2020-03-24 06:28:56 +01:00
numeric-lifetime.rs review comments 2019-03-09 11:08:51 -08:00
numeric-lifetime.stderr Recover unclosed char literal being parsed as lifetime 2022-10-22 06:57:12 +00:00
obsolete-syntax-impl-for-dotdot.rs Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
obsolete-syntax-impl-for-dotdot.stderr Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
old-suffixes-are-really-forbidden.rs Move some tests to more reasonable directories 2021-02-16 21:22:21 -03:00
old-suffixes-are-really-forbidden.stderr Move some tests to more reasonable directories 2021-02-16 21:22:21 -03: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 Use smaller spans for some structured suggestions 2021-08-12 09:52:38 +00:00
operator-associativity.rs Move some tests to more reasonable directories 2021-11-18 12:09:34 -03: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
parse-assoc-type-lt.rs Move parser-related tests 2020-12-31 07:53:54 +09:00
parse-error-correct.rs Move parser-related tests 2020-12-31 07:53:54 +09:00
parse-error-correct.stderr add helpful error notes and fix the false 'defined here' messages 2021-02-25 16:11:18 +05:30
parse-panic.rs Move parser-related tests 2020-12-31 07:53:54 +09:00
parser-recovery-1.rs Move parser-related tests 2020-12-31 07:53:54 +09:00
parser-recovery-1.stderr Delay function resolution error until typeck 2022-10-05 06:42:35 +00:00
parser-recovery-2.rs Move parser-related tests 2020-12-31 07:53:54 +09:00
parser-recovery-2.stderr Delay function resolution error until typeck 2022-10-05 06:42:35 +00:00
parser-unicode-whitespace.rs Use HTTPS links where possible 2021-06-23 16:26:46 -04: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 Use smaller spans for some structured suggestions 2021-08-12 09:52:38 +00: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
public-instead-of-pub-1.fixed parser will not give wrong help message for 'public' 2022-08-23 17:02:40 +08:00
public-instead-of-pub-1.rs parser will not give wrong help message for 'public' 2022-08-23 17:02:40 +08:00
public-instead-of-pub-1.stderr parser will not give wrong help message for 'public' 2022-08-23 17:02:40 +08:00
public-instead-of-pub-2.rs parser will not give wrong help message for 'public' 2022-08-23 17:02:40 +08:00
public-instead-of-pub-2.stderr parser will not give wrong help message for 'public' 2022-08-23 17:02:40 +08:00
public-instead-of-pub-3.fixed fix #101626, suggest pub instead of public for const type item 2022-09-11 08:29:38 +08:00
public-instead-of-pub-3.rs fix #101626, suggest pub instead of public for const type item 2022-09-11 08:29:38 +08:00
public-instead-of-pub-3.stderr fix #101626, suggest pub instead of public for const type item 2022-09-11 08:29:38 +08:00
public-instead-of-pub.fixed Add diagnostic when using public instead of pub 2022-07-29 19:21:30 +05:30
public-instead-of-pub.rs Add diagnostic when using public instead of pub 2022-07-29 19:21:30 +05:30
public-instead-of-pub.stderr Add diagnostic when using public instead of pub 2022-07-29 19:21:30 +05:30
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 Fix tests 2021-08-30 20:18:44 -05:00
range-3.stderr Fix tests 2021-08-30 20:18:44 -05:00
range-4.rs Fix tests 2021-08-30 20:18:44 -05:00
range-4.stderr Fix tests 2021-08-30 20:18:44 -05:00
range-inclusive-extra-equals.rs Add diagnostics test for mistyped inclusive ranges 2021-07-11 16:51:56 -07:00
range-inclusive-extra-equals.stderr Add diagnostics test for mistyped inclusive ranges 2021-07-11 16:51:56 -07:00
range_inclusive.fixed Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09:00
range_inclusive.rs Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09:00
range_inclusive.stderr Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09:00
range_inclusive_dotdotdot.rs fix tidy 2019-05-31 13:50:04 -07:00
range_inclusive_dotdotdot.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
ranges-precedence.rs Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
recover-assoc-const-constraint.rs Add term to ExistentialProjection 2022-01-17 20:01:22 +00:00
recover-assoc-const-constraint.stderr Add term to ExistentialProjection 2022-01-17 20:01:22 +00:00
recover-assoc-eq-missing-term.rs address some review comments 2020-03-27 09:29:38 +01:00
recover-assoc-eq-missing-term.stderr diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
recover-assoc-lifetime-constraint.rs parse: improve recovery for assoc eq constraints. 2020-03-27 07:39:15 +01:00
recover-assoc-lifetime-constraint.stderr parse: improve recovery for assoc eq constraints. 2020-03-27 07:39:15 +01:00
recover-const-async-fn-ptr.rs parse: recover on const fn() / async fn(). 2020-03-26 09:44:11 +01:00
recover-const-async-fn-ptr.stderr parse: recover on const fn() / async fn(). 2020-03-26 09:44:11 +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 add a label to struct/enum/union ident name 2022-09-27 10:28:50 +09:00
recover-field-extra-angle-brackets-in-struct-with-a-field.rs fix a not emitted unmatched angle bracket error 2022-03-20 22:39:15 +09:00
recover-field-extra-angle-brackets-in-struct-with-a-field.stderr fix a not emitted unmatched angle bracket error 2022-03-20 22:39:15 +09:00
recover-field-extra-angle-brackets.rs Recover extra trailing angle brackets in struct definition 2020-06-27 11:53:42 -04:00
recover-field-extra-angle-brackets.stderr Recover extra trailing angle brackets in struct definition 2020-06-27 11:53:42 -04:00
recover-field-semi.rs Recover from using ; as separator between fields 2022-09-05 19:15:23 +00:00
recover-field-semi.stderr add a label to struct/enum/union ident name 2022-09-27 10:28:50 +09:00
recover-fn-ptr-with-generics.rs Recover from fn ptr tys with generic param list 2022-11-11 13:42:40 +01:00
recover-fn-ptr-with-generics.stderr Recover from fn ptr tys with generic param list 2022-11-11 13:42:40 +01:00
recover-for-loop-parens-around-head.rs Some "parenthesis" and "parentheses" fixes 2021-10-17 12:04:01 +02:00
recover-for-loop-parens-around-head.stderr diagnostics: fix trailing space 2022-06-16 14:40:28 +03:00
recover-from-bad-variant.rs Recover from Foo(a: 1, b: 2) 2021-09-07 17:45:16 +00:00
recover-from-bad-variant.stderr Unreserve braced enum variants in value namespace 2022-11-21 22:40:06 +03:00
recover-from-homoglyph.rs Allow lexer to recover from some homoglyphs 2019-07-24 16:10:42 -07:00
recover-from-homoglyph.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
recover-labeled-non-block-expr.fixed Stabilize #![feature(label_break_value)] 2022-08-23 21:14:12 -05:00
recover-labeled-non-block-expr.rs Stabilize #![feature(label_break_value)] 2022-08-23 21:14:12 -05:00
recover-labeled-non-block-expr.stderr Stabilize #![feature(label_break_value)] 2022-08-23 21:14:12 -05:00
recover-missing-semi-before-item.fixed suggest adding a missing semicolon before an item 2022-08-15 16:10:31 +09:00
recover-missing-semi-before-item.rs suggest adding a missing semicolon before an item 2022-08-15 16:10:31 +09:00
recover-missing-semi-before-item.stderr suggest adding a missing semicolon before an item 2022-08-15 16:10:31 +09:00
recover-missing-semi.rs Use heuristics to recover parsing of missing ; 2019-10-28 10:53:13 -07:00
recover-missing-semi.stderr Remove redundant backtick in error message. 2020-05-15 20:51:12 -07:00
recover-quantified-closure.rs Lower closure binders to hir & properly check them 2022-07-12 21:00:03 +04:00
recover-quantified-closure.stderr Lower closure binders to hir & properly check them 2022-07-12 21:00:03 +04:00
recover-range-pats.rs Stabilize half_open_range_patterns 2022-10-08 11:00:13 +02:00
recover-range-pats.stderr Stabilize half_open_range_patterns 2022-10-08 11:00:13 +02:00
recover-ref-dyn-mut.rs Recover from &dyn mut ... parse errors 2021-07-02 17:07:32 +02:00
recover-ref-dyn-mut.stderr Recover from &dyn mut ... parse errors 2021-07-02 17:07:32 +02:00
recover-struct.rs fix tidy 2019-05-31 13:50:04 -07:00
recover-struct.stderr add a label to struct/enum/union ident name 2022-09-27 10:28:50 +09: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 add a label to struct/enum/union ident name 2022-09-27 10:28:50 +09:00
regions-out-of-scope-slice.rs parse: recover on &'lt $expr / 'lt $expr. 2020-03-10 08:32:34 +01:00
regions-out-of-scope-slice.stderr parse: recover on &'lt $expr / 'lt $expr. 2020-03-10 08:32:34 +01:00
removed-syntax-closure-lifetime.rs add tests 2020-11-25 20:08:38 +01:00
removed-syntax-closure-lifetime.stderr Provide suggestion for missing > in a type parameter list 2022-03-27 02:50:04 +00: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 add a label to struct/enum/union ident name 2022-09-27 10:28:50 +09:00
removed-syntax-field-let-2.rs Fix let removal suggestion in struct 2022-10-11 17:35:50 +00:00
removed-syntax-field-let-2.stderr Fix let removal suggestion in struct 2022-10-11 17:35:50 +00:00
removed-syntax-field-let.rs Recover gracefully from struct parse errors 2020-08-13 21:15:36 -07:00
removed-syntax-field-let.stderr Fix let removal suggestion in struct 2022-10-11 17:35:50 +00:00
removed-syntax-field-semicolon.rs Recover from using ; as separator between fields 2022-09-05 19:15:23 +00:00
removed-syntax-field-semicolon.stderr add a label to struct/enum/union ident name 2022-09-27 10:28:50 +09: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 Change syntax for TyAlias where clauses 2022-03-05 13:13:45 -05:00
removed-syntax-ptr-lifetime.stderr Change syntax for TyAlias where clauses 2022-03-05 13:13:45 -05: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 Improve diagnostics for const a: = expr; 2022-08-05 16:19:28 +04: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 Fix UI tests for 'const expression' change 2020-12-04 12:21:33 +01:00
removed-syntax-uniq-mut-ty.stderr Fix UI tests for 'const expression' change 2020-12-04 12:21:33 +01: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 diagnostics: mention the : token when struct fields fail to parse 2022-07-07 14:59:54 -07:00
removed-syntax-with-2.stderr diagnostics: mention the : token when struct fields fail to parse 2022-07-07 14:59:54 -07:00
require-parens-for-chained-comparison.rs Recover unclosed char literal being parsed as lifetime 2022-10-22 06:57:12 +00:00
require-parens-for-chained-comparison.stderr Recover unclosed char literal being parsed as lifetime 2022-10-22 06:57:12 +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 Update tests for extern block linting 2021-01-13 07:49:16 -05: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 Update tests for extern block linting 2021-01-13 07:49:16 -05:00
semi-after-closure-in-macro.rs Don't erroneously deny semicolons after closure expr within parentheses in a macro 2022-10-22 06:59:49 +00: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
similar-tokens.rs Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
similar-tokens.stderr Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
slowparse-bstring.rs move testcase for tidy 2022-11-15 09:00:27 +08:00
slowparse-string.rs move testcase for tidy 2022-11-15 09:00:27 +08:00
stmt_expr_attrs_placement.rs Updates to tests. 2021-05-11 15:21:54 -04:00
stmt_expr_attrs_placement.stderr Provide more context on incorrect inner attribute 2021-09-02 19:08:30 +00:00
stripped-nested-outline-mod-pass.rs add test for stripped nested outline module 2020-03-18 15:08:25 +01:00
struct-default-values-and-missing-field-separator.fixed Recover from invalid struct item syntax 2021-05-11 18:48:57 -07:00
struct-default-values-and-missing-field-separator.rs Recover from invalid struct item syntax 2021-05-11 18:48:57 -07:00
struct-default-values-and-missing-field-separator.stderr Recover from invalid struct item syntax 2021-05-11 18:48:57 -07:00
struct-field-numeric-shorthand.rs Make "missing field" error message more natural 2021-02-20 18:32:02 +01:00
struct-field-numeric-shorthand.stderr Make "missing field" error message more natural 2021-02-20 18:32:02 +01:00
struct-filed-with-attr.fixed give a helpful diagnostic even when the next struct field has an attribute 2022-08-13 12:50:53 +08:00
struct-filed-with-attr.rs give a helpful diagnostic even when the next struct field has an attribute 2022-08-13 12:50:53 +08:00
struct-filed-with-attr.stderr give a helpful diagnostic even when the next struct field has an attribute 2022-08-13 12:50:53 +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 Reword "Required because of the requirements on the impl of ..." 2022-08-18 21:08:08 +01: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 Modify structured suggestion output 2021-08-11 09:46:24 +00: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 Modify structured suggestion output 2021-08-11 09:46:24 +00:00
struct-literal-in-match-guard.rs Add a regression test for match guard 2020-08-08 10:38:49 +00: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 Modify structured suggestion output 2021-08-11 09:46:24 +00: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 Shorten span for closures. 2022-07-07 09:27:42 +02:00
struct-literal-variant-in-if.rs Move some tests to more reasonable directories 2021-02-16 21:22:21 -03:00
struct-literal-variant-in-if.stderr Unreserve braced enum variants in value namespace 2022-11-21 22:40:06 +03:00
suggest-assoc-const.fixed fix #101797: Suggest associated const for incorrect use of let in traits 2022-09-15 16:15:38 +08:00
suggest-assoc-const.rs fix #101797: Suggest associated const for incorrect use of let in traits 2022-09-15 16:15:38 +08:00
suggest-assoc-const.stderr tweak suggestion 2022-09-16 01:09:26 +08:00
suggest-const-for-global-var.rs suggest const or static for global variable 2022-08-11 23:15:39 +08:00
suggest-const-for-global-var.stderr suggest const or static for global variable 2022-08-11 23:15:39 +08:00
suggest-removing-semicolon-after-impl-trait-items.fixed suggest removing a semicolon after impl/trait items 2022-08-12 18:11:01 +09:00
suggest-removing-semicolon-after-impl-trait-items.rs suggest removing a semicolon after impl/trait items 2022-08-12 18:11:01 +09:00
suggest-removing-semicolon-after-impl-trait-items.stderr use span_suggestion instead of span_suggestion_verbose 2022-08-13 22:10:54 +09:00
suggest-semi-in-array.rs Do not suggest adding ; when , is also a choice 2022-07-23 17:52:45 +00:00
suggest-semi-in-array.stderr Do not suggest adding ; when , is also a choice 2022-07-23 17:52:45 +00:00
suggest-semicolon-before-array.fixed do not suggest a semicolon for a macro without ! 2022-09-07 03:59:47 +09:00
suggest-semicolon-before-array.rs do not suggest a semicolon for a macro without ! 2022-09-07 03:59:47 +09:00
suggest-semicolon-before-array.stderr do not suggest a semicolon for a macro without ! 2022-09-07 03:59:47 +09:00
trailing-carriage-return-in-string.rs Handle Spans for byte and raw strings and add more detail 2021-02-03 13:34:28 -08:00
trailing-carriage-return-in-string.stderr Handle Spans for byte and raw strings and add more detail 2021-02-03 13:34:28 -08:00
trailing-plus-in-bounds.rs Make some tests check-pass 2022-05-28 18:57:02 +09:00
trailing-question-in-macro-type.rs Do not recover from Ty? in macro parsing 2022-03-04 02:03:55 +00:00
trailing-question-in-macro-type.stderr Do not recover from Ty? in macro parsing 2022-03-04 02:03:55 +00:00
trailing-question-in-type.fixed Parse Ty? as Option<Ty> and provide structured suggestion 2022-01-14 00:07:23 +00:00
trailing-question-in-type.rs Parse Ty? as Option<Ty> and provide structured suggestion 2022-01-14 00:07:23 +00:00
trailing-question-in-type.stderr Parse Ty? as Option<Ty> and provide structured suggestion 2022-01-14 00:07:23 +00: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 Clarify the 'default is only allowed on...' error 2020-12-08 21:56:22 -08:00
trait-item-with-defaultness-fail-semantic.stderr bless ui tests 2022-10-01 10:03:06 +00:00
trait-item-with-defaultness-pass.rs Alias TraitItem & ImplItem. 2019-12-12 17:54:48 +01:00
trait-object-bad-parens.rs Rename optin_builtin_traits to auto_traits 2020-11-23 14:14:06 -08:00
trait-object-bad-parens.stderr introduce negative_impls feature gate and document 2020-03-26 06:52:55 -04:00
trait-object-delimiters.rs Update parsing test 2022-09-13 15:32:38 -07:00
trait-object-delimiters.stderr Update parsing test 2022-09-13 15:32:38 -07:00
trait-object-lifetime-parens.rs Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09:00
trait-object-lifetime-parens.stderr Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09: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 Address PR feedback 2021-06-25 14:51:56 +02:00
trait-object-trait-parens.stderr bless ui tests 2022-10-01 10:03:06 +00:00
trait-plusequal-splitting.rs Make some tests check-pass 2022-05-28 18:57:02 +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-alias-where-fixable.fixed Stabilize GATs 2022-08-30 23:06:24 -04:00
type-alias-where-fixable.rs Stabilize GATs 2022-08-30 23:06:24 -04:00
type-alias-where-fixable.stderr bless ui tests 2022-10-01 10:03:06 +00:00
type-alias-where.rs Stabilize GATs 2022-08-30 23:06:24 -04:00
type-alias-where.stderr Stabilize GATs 2022-08-30 23:06:24 -04: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 Update UI tests 2020-06-21 16:40:36 +02: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 Point at unclosed delimiters as part of the primary MultiSpan 2021-08-27 14:24:47 +00:00
unclosed_delim_mod.rs tweak wording of mismatched delimiter errors 2020-01-03 08:40:15 -05:00
unclosed_delim_mod.stderr Point at unclosed delimiters as part of the primary MultiSpan 2021-08-27 14:24:47 +00: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 Make underscore_literal_suffix a hard error. 2022-11-07 10:00:36 +11:00
underscore-suffix-for-string.stderr Make underscore_literal_suffix a hard error. 2022-11-07 10:00:36 +11: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-character-literal.fixed Improve diagnostics if a character literal contains combining marks 2021-09-10 19:23:37 +02:00
unicode-character-literal.rs Improve diagnostics if a character literal contains combining marks 2021-09-10 19:23:37 +02:00
unicode-character-literal.stderr Improve diagnostics if a character literal contains combining marks 2021-09-10 19:23:37 +02: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 Modify structured suggestion output 2021-08-11 09:46:24 +00:00
unicode-control-codepoints.rs Make non-ASCII errors more consistent. 2022-11-04 14:23:40 +11:00
unicode-control-codepoints.stderr Make non-ASCII errors more consistent. 2022-11-04 14:23:40 +11:00
unicode-quote-chars.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
unicode-quote-chars.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00: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
unmatched-langle-1.rs Fix handling of unmatched angle brackets in parser 2021-06-05 00:31:28 +02:00
unmatched-langle-1.stderr Delay function resolution error until typeck 2022-10-05 06:42:35 +00:00
unmatched-langle-2.rs Fix handling of unmatched angle brackets in parser 2021-06-05 00:31:28 +02:00
unmatched-langle-2.stderr Fix handling of unmatched angle brackets in parser 2021-06-05 00:31:28 +02:00
unnecessary-let.rs Suggest removing unnecessary prefix let in patterns 2022-09-03 05:39:46 +00:00
unnecessary-let.stderr Suggest removing unnecessary prefix let in patterns 2022-09-03 05:39:46 +00:00
unsafe-foreign-mod-2.rs Optimize the diagnostic generation for extern unsafe 2022-05-30 15:56:43 +08:00
unsafe-foreign-mod-2.stderr Optimize the diagnostic generation for extern unsafe 2022-05-30 15:56:43 +08:00
unsafe-foreign-mod.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
unsafe-foreign-mod.stderr Update tests for extern block linting 2021-01-13 07:49:16 -05:00
unsafe-mod.rs Syntactically permit unsafety on mods 2020-09-10 06:56:33 -07:00
unsafe-mod.stderr E0583: Include secondary path in error message 2021-05-06 09:40:05 +08: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-colon-as-mod-sep.rs Parser: Recover from using colon as path separator in imports 2022-11-08 20:13:10 -06:00
use-colon-as-mod-sep.stderr Parser: Recover from using colon as path separator in imports 2022-11-08 20:13:10 -06: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
use-unclosed-brace.rs Avoid ; -> , recovery and unclosed } recovery from being too verbose 2021-04-09 10:22:41 -07:00
use-unclosed-brace.stderr Point at unclosed delimiters as part of the primary MultiSpan 2021-08-27 14:24:47 +00:00
utf8_idents-rpass.rs Move some tests to more reasonable directories 2021-11-14 14:38:42 -03:00
utf16-be-without-bom.rs Add tests for new UTF-16 behavior 2021-02-07 10:05:43 -05:00
utf16-be-without-bom.stderr Bless tests with new error wording 2021-02-07 11:11:38 -05:00
utf16-le-without-bom.rs Add tests for new UTF-16 behavior 2021-02-07 10:05:43 -05:00
utf16-le-without-bom.stderr Bless tests with new error wording 2021-02-07 11:11:38 -05: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 Handle C-variadic arguments properly when reporting region errors 2021-06-09 17:02:39 +02:00
variadic-ffi-semantic-restrictions.stderr Handle C-variadic arguments properly when reporting region errors 2021-06-09 17:02:39 +02: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
while-if-let-without-body.rs Tweak diagnostics 2022-02-28 18:22:45 +00:00
while-if-let-without-body.stderr Tweak diagnostics 2022-02-28 18:22:45 +00:00
wrong-escape-of-curly-braces.rs Handle Spans for byte and raw strings and add more detail 2021-02-03 13:34:28 -08:00
wrong-escape-of-curly-braces.stderr Handle Spans for byte and raw strings and add more detail 2021-02-03 13:34:28 -08:00