rust/tests/ui/parser
bors 6ce376774c Auto merge of #130246 - dianne:issue-97589-fix, r=petrochenkov
rustc_expand: remember module `#[path]`s during expansion

During invocation collection, if a module item parsed from a `#[path]` attribute needed a second pass after parsing, its path wouldn't get added to the file path stack, so cycle detection broke. This checks the `#[path]` in such cases, so that it gets added appropriately. I think it should work identically to the case for external modules that don't need a second pass, but I'm not 100% sure.

Fixes #97589
2024-09-22 02:59:38 +00:00
..
assoc Improve diagnostic by suggesting to remove visibility qualifier 2024-04-12 12:59:40 +09:00
attribute don't suggest turning crate-level attributes into outer style 2024-08-04 00:11:16 +08:00
char Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
diff-markers Improve conflict marker recovery 2024-06-19 00:27:41 +02:00
issues Auto merge of #130246 - dianne:issue-97589-fix, r=petrochenkov 2024-09-22 02:59:38 +00:00
macro Mark missing_fragment_specifier as FutureReleaseErrorReportInDeps 2024-07-24 13:16:46 -04:00
mismatched-braces Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
misspelled-keywords Implement a Method to Seal DiagInner's Suggestions 2024-09-12 21:27:44 -04:00
raw Replace ASCII control chars with Unicode Control Pictures 2024-07-18 19:23:42 +00:00
recover Add suggestions for expressions in patterns 2024-09-18 20:38:43 +02:00
removed-syntax Fix removed box_syntax diagnostic if source isn't available 2024-08-01 13:11:24 +00:00
shebang [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest_misplaced_generics [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
anon-enums-are-ambiguous.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ascii-only-character-escape.rs
ascii-only-character-escape.stderr
async-with-nonterminal-block.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bad-char-literals.rs Replace ASCII control chars with Unicode Control Pictures 2024-07-18 19:23:42 +00:00
bad-char-literals.stderr Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
bad-crate-name.rs
bad-crate-name.stderr
bad-escape-suggest-raw-string.rs Use a better link 2023-06-10 14:46:11 -04:00
bad-escape-suggest-raw-string.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bad-fn-ptr-qualifier.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bad-fn-ptr-qualifier.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bad-fn-ptr-qualifier.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
bad-if-statements.rs
bad-if-statements.stderr
bad-interpolated-block.rs
bad-interpolated-block.stderr Add suggestion for bad block fragment error 2023-06-23 19:18:20 +00:00
bad-let-as-field.rs
bad-let-as-field.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bad-let-else-statement.rs Support tail calls in mir via TerminatorKind::TailCall 2024-07-07 17:11:04 +02:00
bad-let-else-statement.stderr Support tail calls in mir via TerminatorKind::TailCall 2024-07-07 17:11:04 +02:00
bad-lit-suffixes.rs Improve an error involving attribute values. 2023-12-12 15:54:25 +11:00
bad-lit-suffixes.stderr Improve an error involving attribute values. 2023-12-12 15:54:25 +11:00
bad-match.rs
bad-match.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bad-name.rs Recover more expressions in patterns 2024-09-18 20:37:56 +02:00
bad-name.stderr Recover more expressions in patterns 2024-09-18 20:37:56 +02:00
bad-pointer-type.rs
bad-pointer-type.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bad-recover-kw-after-impl.rs Support async trait bounds in macros 2024-02-20 16:09:09 +00:00
bad-recover-kw-after-impl.stderr Support async trait bounds in macros 2024-02-20 16:09:09 +00:00
bad-recover-ty-after-impl.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bad-struct-following-where.rs
bad-struct-following-where.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bad-value-ident-false.rs
bad-value-ident-false.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bad-value-ident-true.rs
bad-value-ident-true.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bare-struct-body.rs
bare-struct-body.stderr
bastion-of-the-turbofish.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
better-expected.rs
better-expected.stderr Detect more cases of = to : typo 2024-03-01 02:03:00 +00:00
bind-struct-early-modifiers.rs
bind-struct-early-modifiers.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
block-no-opening-brace.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
block-no-opening-brace.stderr
bound-single-question-mark.rs
bound-single-question-mark.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bounds-lifetime-1.rs
bounds-lifetime-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bounds-lifetime-2.rs
bounds-lifetime-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bounds-lifetime-where-1.rs
bounds-lifetime-where-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bounds-lifetime-where.rs
bounds-lifetime-where.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bounds-lifetime.rs
bounds-lifetime.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bounds-obj-parens.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bounds-type-where.rs
bounds-type-where.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bounds-type.rs And additionally enforce ? and async/const aren't mixed 2024-07-11 00:00:03 -04:00
bounds-type.stderr And additionally enforce ? and async/const aren't mixed 2024-07-11 00:00:03 -04:00
brace-in-let-chain.rs Correctly handle while-let-chains 2023-11-10 12:13:53 -08:00
brace-in-let-chain.stderr add limit for unclosed delimiters in lexer diagnostic 2024-07-25 17:01:32 +08:00
break-in-unlabeled-block-in-macro.rs Account for macros 2023-10-09 22:48:10 +00:00
break-in-unlabeled-block-in-macro.stderr For OutsideLoop we should not suggest add 'block label in if block, or we wiil get another err: block label not supported here. 2024-05-22 19:47:32 +08:00
break-in-unlabeled-block.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
break-in-unlabeled-block.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
break-in-unlabeled-block.stderr Suggest labeling block if break is in bare block 2023-10-09 19:24:05 +00:00
builtin-syntax.rs Add feature gate 2023-05-05 21:44:48 +02:00
builtin-syntax.stderr Add feature gate 2023-05-05 21:44:48 +02:00
byte-literals.rs
byte-literals.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
byte-string-literals.rs
byte-string-literals.stderr Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
can-begin-expr-check.rs
can-begin-expr-check.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
cfg-keyword-lifetime.rs Deny keyword lifetimes pre-expansion 2024-07-16 12:06:25 -04:00
cfg-keyword-lifetime.stderr Deny keyword lifetimes pre-expansion 2024-07-16 12:06:25 -04:00
chained-comparison-suggestion.rs
chained-comparison-suggestion.stderr
circular_modules_hello.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
circular_modules_main.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
circular_modules_main.stderr Special-case item attributes in the suggestion output 2023-04-12 22:50:10 +00:00
class-implements-bad-trait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
class-implements-bad-trait.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
closure-return-syntax.rs
closure-return-syntax.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
column-offset-1-based.rs
column-offset-1-based.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-param-decl-on-type-instead-of-impl.rs
const-param-decl-on-type-instead-of-impl.stderr
constraints-before-generic-args-syntactic-pass.rs Stabilize associated type bounds 2024-03-08 20:56:25 +00:00
deep-unmatched-angle-brackets.rs Avoid unbounded O(n^2) when parsing nested type args 2023-10-25 19:07:34 +00:00
deep-unmatched-angle-brackets.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
default-on-wrong-item-kind.rs
default-on-wrong-item-kind.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
default-unmatched-assoc.rs
default-unmatched-assoc.stderr
default-unmatched-extern.rs
default-unmatched-extern.stderr
default-unmatched.rs
default-unmatched.stderr Add explanatory note to 'expected item' error 2023-09-06 09:05:07 +05:30
default.rs Update ui tests involving invalid visibility qualifiers 2023-04-03 22:28:55 -05:00
default.stderr Improve diagnostic by suggesting to remove visibility qualifier 2024-04-12 12:59:40 +09:00
defaultness-invalid-places-fail-semantic.rs Reject defaultness on free consts 2023-11-11 16:00:13 +01:00
defaultness-invalid-places-fail-semantic.stderr Reject defaultness on free consts 2023-11-11 16:00:13 +01:00
deli-ident-issue-1.rs Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
deli-ident-issue-1.stderr Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
deli-ident-issue-2.rs add testcase for #104012 2023-01-26 10:52:57 +08:00
deli-ident-issue-2.stderr Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
diagnostics-parenthesized-type-arguments-ice-issue-122345.rs Fix ICE in diagnostics for parenthesized type arguments 2024-03-12 21:32:21 +01:00
diagnostics-parenthesized-type-arguments-ice-issue-122345.stderr Fix ICE in diagnostics for parenthesized type arguments 2024-03-12 21:32:21 +01:00
do-catch-suggests-try.rs
do-catch-suggests-try.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
do-not-suggest-semicolon-before-array.rs Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
do-not-suggest-semicolon-before-array.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
do-not-suggest-semicolon-between-macro-without-exclamation-mark-and-array.rs
do-not-suggest-semicolon-between-macro-without-exclamation-mark-and-array.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
doc-after-struct-field.rs
doc-after-struct-field.stderr
doc-before-attr.rs
doc-before-attr.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
doc-before-eof.rs
doc-before-eof.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
doc-before-extern-rbrace.rs
doc-before-extern-rbrace.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
doc-before-fn-rbrace.rs
doc-before-fn-rbrace.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
doc-before-identifier.rs
doc-before-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
doc-before-mod-rbrace.rs
doc-before-mod-rbrace.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
doc-before-rbrace.rs
doc-before-rbrace.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
doc-before-semi.rs
doc-before-semi.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
doc-before-struct-rbrace-1.rs
doc-before-struct-rbrace-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
doc-before-struct-rbrace-2.rs
doc-before-struct-rbrace-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
doc-comment-in-if-statement.rs
doc-comment-in-if-statement.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
doc-comment-in-stmt.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
doc-comment-in-stmt.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
doc-comment-in-stmt.stderr Move where doc comment meant as comment check 2023-10-20 02:54:45 +00:00
doc-inside-trait-item.rs
doc-inside-trait-item.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
dotdotdot-expr.rs
dotdotdot-expr.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
double-pointer.rs
double-pointer.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
duplicate-visibility.rs Handle safety keyword for extern block inner items 2024-06-04 14:19:42 -03:00
duplicate-visibility.stderr Handle safety keyword for extern block inner items 2024-06-04 14:19:42 -03:00
duplicate-where-clauses.rs
duplicate-where-clauses.stderr
dyn-trait-compatibility.rs Use smart-resolve when checking for trait in RHS of UFCS 2023-04-07 05:33:52 +00:00
dyn-trait-compatibility.stderr refactor(resolve): clean up the early error return caused by non-call 2023-05-10 22:35:01 +08:00
else-no-if.rs Add macro calls to else-no-if parser test 2024-05-11 15:49:51 -07:00
else-no-if.stderr Remove MacCall special case from recovery after missing 'if' after 'else' 2024-05-11 15:49:51 -07:00
emoji-identifiers.rs
emoji-identifiers.stderr Deduplicate some logic and reword output 2024-02-22 18:05:28 +00:00
empty-impl-semicolon.rs
empty-impl-semicolon.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
eq-gt-to-gt-eq.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
eq-gt-to-gt-eq.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
eq-gt-to-gt-eq.stderr Suggest => --> >= in conditions 2023-12-26 20:59:14 -08:00
eq-less-to-less-eq.rs add hint for =< as <= 2023-05-05 11:17:14 -04:00
eq-less-to-less-eq.stderr add hint for =< as <= 2023-05-05 11:17:14 -04:00
expr-as-stmt-2.rs
expr-as-stmt-2.stderr
expr-as-stmt.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
expr-as-stmt.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
expr-as-stmt.stderr adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
expr-rarrow-call.fixed Improve handling of expr->field errors 2024-04-22 17:47:35 +02:00
expr-rarrow-call.rs Improve handling of expr->field errors 2024-04-22 17:47:35 +02:00
expr-rarrow-call.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
extern-abi-from-mac-literal-frag.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
extern-abi-raw-strings.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
extern-abi-string-escaping.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
extern-abi-syntactic.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
extern-crate-async.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
extern-crate-unexpected-token.rs
extern-crate-unexpected-token.stderr Add Suggestions for Misspelled Keywords 2024-09-06 23:07:45 -04:00
extern-expected-fn-or-brace.rs
extern-expected-fn-or-brace.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
extern-foreign-crate.rs
extern-foreign-crate.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
extern-no-fn.rs Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
extern-no-fn.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
float-field-interpolated.rs More detail when expecting expression but encountering bad macro argument 2023-11-16 16:19:04 +00:00
float-field-interpolated.stderr More detail when expecting expression but encountering bad macro argument 2023-11-16 16:19:04 +00:00
float-field.rs Use LitKind::Err for floats with unsupported bases. 2024-02-28 20:59:32 +11:00
float-field.stderr Use LitKind::Err for floats with unsupported bases. 2024-02-28 20:59:32 +11:00
float-literals.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
fn-arg-doc-comment.rs
fn-arg-doc-comment.stderr
fn-body-eq-expr-semi.rs
fn-body-eq-expr-semi.stderr
fn-body-optional-semantic-fail.rs
fn-body-optional-semantic-fail.stderr
fn-body-optional-syntactic-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
fn-colon-return-type.rs
fn-colon-return-type.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
fn-defined-using-def.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
fn-defined-using-def.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
fn-defined-using-fun.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
fn-defined-using-fun.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
fn-defined-using-func.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
fn-defined-using-func.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
fn-defined-using-function.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
fn-defined-using-function.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
fn-field-parse-error-ice.rs
fn-field-parse-error-ice.stderr
fn-header-semantic-fail.rs stabilize const_extern_fn 2024-09-14 18:07:06 +02:00
fn-header-semantic-fail.stderr stabilize const_extern_fn 2024-09-14 18:07:06 +02:00
fn-header-syntactic-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
fn-returns-fn-pointer.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
foreign-const-semantic-fail.rs
foreign-const-semantic-fail.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
foreign-const-syntactic-fail.rs
foreign-const-syntactic-fail.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
foreign-static-semantic-fail.rs
foreign-static-semantic-fail.stderr
foreign-static-syntactic-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
foreign-ty-semantic-fail.rs Fix debug ICE for extern type with where clauses 2023-06-12 15:15:45 +08:00
foreign-ty-semantic-fail.stderr Fix debug ICE for extern type with where clauses 2023-06-12 15:15:45 +08:00
foreign-ty-syntactic-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
generic-param-default-in-binder.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
generic-statics.rs Add UI tests for generic const items 2023-07-28 22:23:20 +02:00
generic-statics.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
help-set-edition-ice-122130.rs Eagerly translate HelpUseLatestEdition in parser diagnostics 2024-03-07 23:03:42 +00:00
help-set-edition-ice-122130.stderr Eagerly translate HelpUseLatestEdition in parser diagnostics 2024-03-07 23:03:42 +00:00
ice-issue-127600.rs check is_ident before parse_ident 2024-07-11 12:12:00 +04:00
ice-issue-127600.stderr check is_ident before parse_ident 2024-07-11 12:12:00 +04:00
ident-recovery.rs feat: implement error recovery in expected_ident_found 2023-03-20 20:54:41 +13:00
ident-recovery.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
if-block-unreachable-expr.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
if-in-in.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
if-in-in.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
if-in-in.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
impl-item-const-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-item-const-semantic-fail.rs
impl-item-const-semantic-fail.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
impl-item-fn-no-body-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-item-fn-no-body-semantic-fail.rs
impl-item-fn-no-body-semantic-fail.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
impl-item-type-no-body-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-item-type-no-body-semantic-fail.rs Continue compilation even if inherent impl checks fail 2024-02-14 21:04:51 +00:00
impl-item-type-no-body-semantic-fail.stderr Provide structured suggestion for #![feature(foo)] 2024-03-18 16:08:58 +00:00
impl-on-unsized-typo.rs Recover impl<T ?Sized> correctly 2023-05-15 17:14:59 +00:00
impl-on-unsized-typo.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
impl-parsing.rs
impl-parsing.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
impl-qpath.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impls-nested-within-anon-consts-semantic.rs AST validation: Improve handling of inherent impls nested within functions and anon consts 2024-03-05 00:12:15 +01:00
impls-nested-within-fns-semantic-0.rs AST validation: Improve handling of inherent impls nested within functions and anon consts 2024-03-05 00:12:15 +01:00
impls-nested-within-fns-semantic-1.rs Migrate tests to use -Znext-solver 2024-06-30 17:08:45 +00:00
import-from-path.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
import-from-path.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
import-from-rename.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
import-from-rename.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
import-glob-path.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
import-glob-path.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
import-glob-rename.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
import-glob-rename.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
increment-autofix-2.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
increment-autofix-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
increment-autofix-2.stderr
increment-autofix.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
increment-autofix.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
increment-autofix.stderr
inner-attr-after-doc-comment.rs
inner-attr-after-doc-comment.stderr don't suggest turning crate-level attributes into outer style 2024-08-04 00:11:16 +08:00
inner-attr-in-trait-def.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
inner-attr.rs
inner-attr.stderr don't suggest turning crate-level attributes into outer style 2024-08-04 00:11:16 +08:00
int-literal-too-large-span.rs
int-literal-too-large-span.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
integer-literal-start-ident.rs feat/refactor: improve errors in case of ident with number at start 2023-03-09 21:29:32 +13:00
integer-literal-start-ident.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
intersection-patterns-1.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
intersection-patterns-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
intersection-patterns-1.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
intersection-patterns-2.rs
intersection-patterns-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
inverted-parameters.rs
inverted-parameters.stderr
issue-12187-1.rs Move some tests 2024-04-21 15:43:43 -03:00
issue-12187-1.stderr Move some tests 2024-04-21 15:43:43 -03:00
issue-12187-2.rs Move some tests 2024-04-21 15:43:43 -03:00
issue-12187-2.stderr Move some tests 2024-04-21 15:43:43 -03:00
issue-116781.rs restore snapshot when parse_param_general 2023-10-28 08:53:51 +08:00
issue-116781.stderr restore snapshot when parse_param_general 2023-10-28 08:53:51 +08:00
item-free-const-no-body-semantic-fail.rs
item-free-const-no-body-semantic-fail.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
item-free-const-no-body-syntactic-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
item-free-static-no-body-semantic-fail.rs
item-free-static-no-body-semantic-fail.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
item-free-static-no-body-syntactic-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
item-free-type-bounds-semantic-fail.rs Improve the diagnostics for unused generic parameters 2024-02-01 16:18:03 +01:00
item-free-type-bounds-semantic-fail.stderr Improve the diagnostics for unused generic parameters 2024-02-01 16:18:03 +01:00
item-free-type-bounds-syntactic-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
item-kw-case-mismatch.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
item-kw-case-mismatch.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
item-kw-case-mismatch.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
item-needs-block.rs
item-needs-block.stderr
keyword-abstract.rs
keyword-abstract.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-as-as-identifier.rs
keyword-as-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-box-as-identifier.rs
keyword-box-as-identifier.stderr
keyword-break-as-identifier.rs
keyword-break-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-const-as-identifier.rs
keyword-const-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-continue-as-identifier.rs
keyword-continue-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-else-as-identifier.rs
keyword-else-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-enum-as-identifier.rs
keyword-enum-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-final.rs
keyword-final.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-fn-as-identifier.rs
keyword-fn-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-for-as-identifier.rs
keyword-for-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-if-as-identifier.rs
keyword-if-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-impl-as-identifier.rs
keyword-impl-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-in-as-identifier.rs
keyword-in-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-let-as-identifier.rs
keyword-let-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-loop-as-identifier.rs
keyword-loop-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-match-as-identifier.rs
keyword-match-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-mod-as-identifier.rs
keyword-mod-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-move-as-identifier.rs
keyword-move-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-mut-as-identifier.rs
keyword-mut-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-override.rs
keyword-override.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-pub-as-identifier.rs
keyword-pub-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-ref-as-identifier.rs
keyword-ref-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-return-as-identifier.rs
keyword-return-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-static-as-identifier.rs
keyword-static-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-struct-as-identifier.rs
keyword-struct-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-trait-as-identifier.rs
keyword-trait-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-try-as-identifier-edition2018.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
keyword-try-as-identifier-edition2018.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-type-as-identifier.rs
keyword-type-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-typeof.rs
keyword-typeof.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-union-as-identifier.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
keyword-unsafe-as-identifier.rs
keyword-unsafe-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-use-as-identifier.rs
keyword-use-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-where-as-identifier.rs
keyword-where-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-while-as-identifier.rs
keyword-while-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword.rs
keyword.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keywords-followed-by-double-colon.rs
keywords-followed-by-double-colon.stderr
kw-in-trait-bounds.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
kw-in-trait-bounds.stderr Fix msg for verbose suggestions with confusable capitalization 2024-02-14 20:15:13 +00:00
label-after-block-like.rs
label-after-block-like.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
label-is-actually-char.rs Fix typos (taking into account review comments) 2024-05-18 18:12:18 +02:00
label-is-actually-char.stderr Be more careful about interpreting a label/lifetime as a mistyped char literal. 2024-01-29 11:25:09 +11:00
labeled-no-colon-expr.rs
labeled-no-colon-expr.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
let-binop.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
let-binop.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
let-binop.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
lifetime_starts_expressions.rs
lifetime_starts_expressions.stderr
lifetime-in-pattern-recover.rs
lifetime-in-pattern-recover.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
lifetime-in-pattern.rs
lifetime-in-pattern.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
lifetime-semicolon.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lifetime-semicolon.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lifetime-semicolon.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lit-err-in-macro.rs Handle interpolated literal errors 2023-06-15 01:55:37 +00:00
lit-err-in-macro.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macro-bad-delimiter-ident.rs
macro-bad-delimiter-ident.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macro-braces-dot-question.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-keyword.rs
macro-keyword.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macro-mismatched-delim-brace-paren.rs
macro-mismatched-delim-brace-paren.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
macro-mismatched-delim-paren-brace.rs
macro-mismatched-delim-paren-brace.stderr Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
macros-no-semicolon-items.rs
macros-no-semicolon-items.stderr
macros-no-semicolon.rs
macros-no-semicolon.stderr Make ; suggestions inline 2024-07-12 03:22:32 +00:00
match-arm-without-body.rs Correctly gate the parsing of match arms without body 2023-12-12 14:42:04 +01:00
match-arm-without-body.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
match-arm-without-braces.rs
match-arm-without-braces.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
match-arrows-block-then-binop.rs
match-arrows-block-then-binop.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
match-refactor-to-expr.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
match-refactor-to-expr.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
match-refactor-to-expr.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
mbe_missing_right_paren.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
mbe_missing_right_paren.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
method-call-on-struct-literal-in-if-condition.rs
method-call-on-struct-literal-in-if-condition.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
mismatched-delim-brace-empty-block.rs
mismatched-delim-brace-empty-block.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
mismatched-delimiter-corner-case-issue-127868.rs add limit for unclosed delimiters in lexer diagnostic 2024-07-25 17:01:32 +08:00
mismatched-delimiter-corner-case-issue-127868.stderr add limit for unclosed delimiters in lexer diagnostic 2024-07-25 17:01:32 +08:00
missing_right_paren.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing_right_paren.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
missing-closing-angle-bracket-eq-constraint.rs Don't expose type parameters and implementation details from macro expansion 2023-02-09 15:15:15 +08:00
missing-closing-angle-bracket-eq-constraint.stderr Detect more cases of = to : typo 2024-03-01 02:03:00 +00:00
missing-closing-angle-bracket-struct-field-ty.rs
missing-closing-angle-bracket-struct-field-ty.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
missing-enum-issue-125446.rs Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-enum-issue-125446.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-enum-or-struct-issue-125446.rs Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-enum-or-struct-issue-125446.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-expression-in-for-loop.rs Add ui test for missing expression in for loop 2023-02-05 17:33:17 +03:00
missing-expression-in-for-loop.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
missing-fat-arrow.rs review comments 2023-10-04 01:35:07 +00:00
missing-fat-arrow.stderr review comments 2023-10-04 01:35:07 +00:00
missing-fn-issue-65381-1.rs Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-fn-issue-65381-1.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-fn-issue-65381-2.rs Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-fn-issue-65381-2.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-fn-issue-65381-3.rs Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-fn-issue-65381-3.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-fn-issue-125446.rs Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-fn-issue-125446.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-semicolon.rs
missing-semicolon.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
missing-struct-issue-125446.rs Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-struct-issue-125446.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
misspelled-macro-rules.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
misspelled-macro-rules.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
misspelled-macro-rules.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
mod_file_not_exist_windows.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
mod_file_not_exist_windows.stderr Mention the syntax for use on mod foo; if foo doesn't exist 2023-10-21 15:56:01 +00:00
mod_file_not_exist.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
mod_file_not_exist.stderr Mention the syntax for use on mod foo; if foo doesn't exist 2023-10-21 15:56:01 +00:00
mod_file_with_path_attr.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
mod_file_with_path_attr.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
multibyte-char-use-seperator-issue-80134.rs
multibyte-char-use-seperator-issue-80134.stderr
multiline-comment-line-tracking.rs
multiline-comment-line-tracking.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
multitrait.rs
multitrait.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
mut-patterns.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
mut-patterns.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
nested-bad-turbofish.rs
nested-bad-turbofish.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
nested-missing-closing-angle-bracket.rs
nested-missing-closing-angle-bracket.stderr Detect more cases of = to : typo 2024-03-01 02:03:00 +00:00
new-unicode-escapes-1.rs
new-unicode-escapes-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
new-unicode-escapes-2.rs
new-unicode-escapes-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
new-unicode-escapes-3.rs
new-unicode-escapes-3.stderr
new-unicode-escapes-4.rs
new-unicode-escapes-4.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
no-binary-float-literal.rs
no-binary-float-literal.stderr
no-const-fn-in-extern-block.rs Fail when using safe/unsafe items inside unadorned extern blocks 2024-06-04 14:19:43 -03:00
no-const-fn-in-extern-block.stderr Fix bad replacement for unsafe extern block suggestion 2024-06-26 08:50:50 +08:00
no-hex-float-literal.rs
no-hex-float-literal.stderr
no-unsafe-self.rs
no-unsafe-self.stderr
not-a-pred.rs
not-a-pred.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
nt-parsing-has-recovery.rs
nt-parsing-has-recovery.stderr
numeric-lifetime.rs Revert "Don't recover lifetimes/labels containing emojis as character literals" 2023-04-10 06:52:41 +00:00
numeric-lifetime.stderr Revert "Don't recover lifetimes/labels containing emojis as character literals" 2023-04-10 06:52:41 +00:00
obsolete-syntax-impl-for-dotdot.rs
obsolete-syntax-impl-for-dotdot.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
old-suffixes-are-really-forbidden.rs
old-suffixes-are-really-forbidden.stderr
omitted-arg-in-item-fn.rs
omitted-arg-in-item-fn.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
operator-associativity.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
paamayim-nekudotayim.rs
paamayim-nekudotayim.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
parse-assoc-type-lt.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
parse-error-correct.rs
parse-error-correct.stderr
parse-panic.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
parser-ice-ed2021-await-105210.rs add test for #105210 assertion failure self.lines.iter().all(|r| !r.iter().any(|sc| sc.chr == \'\\t\')) with edition 2021 2024-03-22 17:25:57 +01:00
parser-ice-ed2021-await-105210.stderr Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
parser-recovery-1.rs Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
parser-recovery-1.stderr Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
parser-recovery-2.rs Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
parser-recovery-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
parser-unicode-whitespace.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
pat-lt-bracket-1.rs Don't expect bodyless arms if the pattern can never be a never pattern 2023-12-28 15:02:17 +01:00
pat-lt-bracket-1.stderr Don't expect bodyless arms if the pattern can never be a never pattern 2023-12-28 15:02:17 +01:00
pat-lt-bracket-2.rs
pat-lt-bracket-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
pat-lt-bracket-3.rs Suggests turbofish in patterns 2023-08-01 23:30:40 +08:00
pat-lt-bracket-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
pat-lt-bracket-4.rs Suggests turbofish in patterns 2023-08-01 23:30:40 +08:00
pat-lt-bracket-4.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
pat-lt-bracket-5.rs Handle methodcalls & operators in patterns 2024-01-28 16:12:21 +01:00
pat-lt-bracket-5.stderr Handle methodcalls & operators in patterns 2024-01-28 16:12:21 +01:00
pat-lt-bracket-6.rs Handle methodcalls & operators in patterns 2024-01-28 16:12:21 +01:00
pat-lt-bracket-6.stderr Add suggestions for expressions in patterns 2024-09-18 20:38:43 +02:00
pat-lt-bracket-7.rs
pat-lt-bracket-7.stderr
pat-ranges-1.rs
pat-ranges-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
pat-ranges-2.rs
pat-ranges-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
pat-ranges-3.rs Handle methodcalls & operators in patterns 2024-01-28 16:12:21 +01:00
pat-ranges-3.stderr Handle methodcalls & operators in patterns 2024-01-28 16:12:21 +01:00
pat-ref-enum.rs
pat-ref-enum.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
pat-tuple-1.rs
pat-tuple-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
pat-tuple-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
pat-tuple-3.rs
pat-tuple-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
pub-method-macro.rs
pub-method-macro.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
public-instead-of-pub-1.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
public-instead-of-pub-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
public-instead-of-pub-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
public-instead-of-pub-2.rs
public-instead-of-pub-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
public-instead-of-pub-3.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
public-instead-of-pub-3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
public-instead-of-pub-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
public-instead-of-pub.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
public-instead-of-pub.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
public-instead-of-pub.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
qualified-path-in-turbofish.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
qualified-path-in-turbofish.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
qualified-path-in-turbofish.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
range_inclusive_dotdotdot.rs
range_inclusive_dotdotdot.stderr
range_inclusive.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
range_inclusive.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
range_inclusive.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
range-3.rs
range-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
range-4.rs
range-4.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
range-exclusive-dotdotlt.rs Emit suggestion when trying to write exclusive ranges as ..< 2024-01-08 16:06:37 -08:00
range-exclusive-dotdotlt.stderr Emit suggestion when trying to write exclusive ranges as ..< 2024-01-08 16:06:37 -08:00
range-inclusive-extra-equals.rs
range-inclusive-extra-equals.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
ranges-precedence.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
recover-hrtb-before-dyn-impl-kw.rs Fix parser ICE when recovering dyn/impl after for<...> 2023-12-04 10:40:09 -08:00
recover-hrtb-before-dyn-impl-kw.stderr Fix parser ICE when recovering dyn/impl after for<...> 2023-12-04 10:40:09 -08:00
recovered-struct-variant.rs
recovered-struct-variant.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
regions-out-of-scope-slice.rs
regions-out-of-scope-slice.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
require-parens-for-chained-comparison.rs Deny keyword lifetimes pre-expansion 2024-07-16 12:06:25 -04:00
require-parens-for-chained-comparison.stderr Deny keyword lifetimes pre-expansion 2024-07-16 12:06:25 -04:00
self-in-function-arg.rs
self-in-function-arg.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
self-param-semantic-fail.rs
self-param-semantic-fail.stderr
self-param-syntactic-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
semi-after-closure-in-macro.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
semi-in-let-chain.rs Suggest fix for ; within let-chains 2023-11-09 00:31:42 -08:00
semi-in-let-chain.stderr Suggest fix for ; within let-chains 2023-11-09 00:31:42 -08:00
several-carriage-returns-in-doc-comment.rs
several-carriage-returns-in-doc-comment.stderr Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
similar-tokens.rs
similar-tokens.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
slowparse-bstring.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
slowparse-string.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
stmt_expr_attrs_placement.rs
stmt_expr_attrs_placement.stderr
stripped-nested-outline-mod-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
struct-default-values-and-missing-field-separator.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
struct-default-values-and-missing-field-separator.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
struct-default-values-and-missing-field-separator.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
struct-field-numeric-shorthand.rs
struct-field-numeric-shorthand.stderr
struct-filed-with-attr.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
struct-filed-with-attr.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
struct-filed-with-attr.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
struct-literal-in-for.rs
struct-literal-in-for.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
struct-literal-in-if.rs Add tests for struct literals in if let/while let 2023-08-28 10:30:48 +01:00
struct-literal-in-if.stderr Add tests for struct literals in if let/while let 2023-08-28 10:30:48 +01:00
struct-literal-in-match-discriminant.rs
struct-literal-in-match-discriminant.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
struct-literal-in-match-guard.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
struct-literal-in-while.rs Add tests for struct literals in if let/while let 2023-08-28 10:30:48 +01:00
struct-literal-in-while.stderr Add tests for struct literals in if let/while let 2023-08-28 10:30:48 +01:00
struct-literal-restrictions-in-lamda.rs
struct-literal-restrictions-in-lamda.stderr adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
struct-literal-variant-in-if.rs
struct-literal-variant-in-if.stderr More accurate suggestions when writing wrong style of enum variant literal 2024-07-18 18:20:35 +00:00
suggest-assoc-const.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-assoc-const.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-assoc-const.stderr Use verbose style when suggesting changing const with let 2024-07-11 20:39:24 +00:00
suggest-const-for-global-var.rs
suggest-const-for-global-var.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-remove-compount-assign-let-ice.rs tests: add regression test for #128845 2024-08-09 05:52:53 +00:00
suggest-remove-compount-assign-let-ice.stderr tests: add regression test for #128845 2024-08-09 05:52:53 +00:00
suggest-removing-semicolon-after-impl-trait-items.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-removing-semicolon-after-impl-trait-items.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-removing-semicolon-after-impl-trait-items.stderr Update tests 2024-02-07 10:42:01 +08:00
suggest-semi-in-array.rs
suggest-semi-in-array.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-semicolon-before-array.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-semicolon-before-array.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-semicolon-before-array.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
super-fast-paren-parsing.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
survive-peano-lesson-queue.rs Ensure stack before parsing dot-or-call 2024-03-18 21:35:18 -07:00
ternary_operator.rs Recover ternary expression as error 2023-10-26 23:04:20 +00:00
ternary_operator.stderr Recover ternary expression as error 2023-10-26 23:04:20 +00:00
trailing-carriage-return-in-string.rs
trailing-carriage-return-in-string.stderr Replace ASCII control chars with Unicode Control Pictures 2024-07-18 19:23:42 +00:00
trailing-plus-in-bounds.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trailing-question-in-macro-type.rs
trailing-question-in-macro-type.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
trailing-question-in-type.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trailing-question-in-type.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trailing-question-in-type.stderr
trait-bounds-not-on-impl.rs
trait-bounds-not-on-impl.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
trait-item-with-defaultness-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trait-object-bad-parens.rs
trait-object-bad-parens.stderr
trait-object-delimiters.rs Rework precise capturing syntax 2024-06-17 22:35:25 -04:00
trait-object-delimiters.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
trait-object-lifetime-parens.rs
trait-object-lifetime-parens.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
trait-object-polytrait-priority.rs Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
trait-object-polytrait-priority.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
trait-object-trait-parens.rs
trait-object-trait-parens.stderr Support ?Trait bounds in supertraits and dyn Trait under a feature gate 2024-07-25 20:53:33 +03:00
trait-plusequal-splitting.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trait-pub-assoc-const.rs Update ui tests involving invalid visibility qualifiers 2023-04-03 22:28:55 -05:00
trait-pub-assoc-const.stderr Improve diagnostic by suggesting to remove visibility qualifier 2024-04-12 12:59:40 +09:00
trait-pub-assoc-ty.rs Update ui tests involving invalid visibility qualifiers 2023-04-03 22:28:55 -05:00
trait-pub-assoc-ty.stderr Improve diagnostic by suggesting to remove visibility qualifier 2024-04-12 12:59:40 +09:00
trait-pub-method.rs Update ui tests involving invalid visibility qualifiers 2023-04-03 22:28:55 -05:00
trait-pub-method.stderr Improve diagnostic by suggesting to remove visibility qualifier 2024-04-12 12:59:40 +09:00
triple-colon-delegation.fixed Parser: recover from ::: to :: in delegations 2024-09-21 20:29:22 +03:00
triple-colon-delegation.rs Parser: recover from ::: to :: in delegations 2024-09-21 20:29:22 +03:00
triple-colon-delegation.stderr Parser: recover from ::: to :: in delegations 2024-09-21 20:29:22 +03:00
triple-colon.fixed Parser: recover from ::: to :: 2024-09-21 20:07:52 +03:00
triple-colon.rs Parser: recover from ::: to :: 2024-09-21 20:07:52 +03:00
triple-colon.stderr Parser: recover from ::: to :: 2024-09-21 20:07:52 +03:00
try-with-nonterminal-block.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-ascription-in-pattern.rs Parse and recover from type ascription in patterns 2023-02-02 17:18:48 +00:00
type-ascription-in-pattern.stderr Parse and recover from type ascription in patterns 2023-02-02 17:18:48 +00:00
type-parameters-in-field-exprs.rs
type-parameters-in-field-exprs.stderr
typod-const-in-const-param-def.rs Recover upon encountering mistyped Const in const param def 2023-05-28 16:55:21 +08:00
typod-const-in-const-param-def.stderr Fix msg for verbose suggestions with confusable capitalization 2024-02-14 20:15:13 +00:00
unbalanced-doublequote.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unbalanced-doublequote.stderr Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
unclosed_delim_mod.rs
unclosed_delim_mod.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unclosed-braces.rs
unclosed-braces.stderr Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
unclosed-delimiter-in-dep.rs Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
unclosed-delimiter-in-dep.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
underscore_item_not_const.rs
underscore_item_not_const.stderr
underscore-suffix-for-float.rs
underscore-suffix-for-float.stderr
underscore-suffix-for-string.rs
underscore-suffix-for-string.stderr
unicode-character-literal.fixed review comment: str -> string in messages 2024-03-17 23:35:18 +00:00
unicode-character-literal.rs review comment: str -> string in messages 2024-03-17 23:35:18 +00:00
unicode-character-literal.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
unicode-chars.rs Add double-equals homoglyph 2023-01-19 02:25:55 +00:00
unicode-chars.stderr Add double-equals homoglyph 2023-01-19 02:25:55 +00:00
unicode-control-codepoints.rs
unicode-control-codepoints.stderr Make unicode text flow control chars visible as � 2024-07-18 20:08:43 +00:00
unicode-quote-chars.rs
unicode-quote-chars.stderr
unmatched-delimiter-at-end-of-file.rs
unmatched-delimiter-at-end-of-file.stderr Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
unmatched-langle-1.rs
unmatched-langle-1.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
unmatched-langle-2.rs
unmatched-langle-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unnecessary-let.rs
unnecessary-let.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
unsafe-foreign-mod-2.rs Stabilize unsafe extern blocks (RFC 3484) 2024-07-23 00:29:39 -03:00
unsafe-foreign-mod-2.stderr Stabilize unsafe extern blocks (RFC 3484) 2024-07-23 00:29:39 -03:00
unsafe-foreign-mod.rs Stabilize unsafe extern blocks (RFC 3484) 2024-07-23 00:29:39 -03:00
unsafe-mod.rs
unsafe-mod.stderr Mention the syntax for use on mod foo; if foo doesn't exist 2023-10-21 15:56:01 +00:00
unsized2.rs
unsized2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unsized.rs
unsized.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
use-as-where-use-ends-with-mod-sep.rs
use-as-where-use-ends-with-mod-sep.stderr
use-colon-as-mod-sep.rs
use-colon-as-mod-sep.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
use-ends-with-mod-sep.rs
use-ends-with-mod-sep.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
use-unclosed-brace.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
use-unclosed-brace.stderr Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
utf8_idents-rpass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
utf16-be-without-bom.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
utf16-be-without-bom.stderr Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
utf16-le-without-bom.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
utf16-le-without-bom.stderr Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
variadic-ffi-nested-syntactic-fail.rs Reject CVarArgs in parse_ty_for_where_clause 2024-06-01 20:57:15 +02:00
variadic-ffi-nested-syntactic-fail.stderr Reject CVarArgs in parse_ty_for_where_clause 2024-06-01 20:57:15 +02:00
variadic-ffi-semantic-restrictions.rs compiler: Mention C-unwind in C-variadic error 2024-06-22 23:30:31 -07:00
variadic-ffi-semantic-restrictions.stderr compiler: Mention C-unwind in C-variadic error 2024-06-22 23:30:31 -07:00
variadic-ffi-syntactic-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
virtual-structs.rs
virtual-structs.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
where_with_bound.rs
where_with_bound.stderr
where-clauses-no-bounds-or-predicates.rs
where-clauses-no-bounds-or-predicates.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
while-if-let-without-body.rs
while-if-let-without-body.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
wrong-escape-of-curly-braces.rs
wrong-escape-of-curly-braces.stderr