1
Fork 0
rust/tests/ui/parser
bors 71b68da1bd Auto merge of #139578 - ferrocene:pa-compiletest-edition, r=jieyouxu
Fix breakage when running compiletest with `--test-args=--edition=2015`

Compiletest has an `--edition` flag to change the default edition tests are run with. Unfortunately no test suite successfully executes when that flag is passed. If the edition is set to something greater than 2015 the breakage is expected, since the test suite currently supports only edition 2015 (Ferrous Systems will open an MCP about fixing that soonish). Surprisingly, the test suite is also broken if `--edition=2015` is passed to compiletest. This PR focuses on fixing the latter.

This PR fixes the two categories of failures happening when `--edition=2015` is passed:

* Some edition-specific tests set their edition through `//@ compile-flags` instead of `//@ edition`. Compiletest doesn't parse the compile flags, so it would see no `//@ edition` and add another `--edition` flag, leading to a rustc error.
* Compiletest would add the edition after `//@ compile-flags`, while some tests depend on flags passed to `//@ compile-flags` being the last flags in the rustc invocation.

Note that for the first category, I opted to manually go and replace all `//@ compile-flags` setting an edition with an explicit `//@ edition`. We could've changed compiletest to instead check whether an edition was set in `//@ compile-flags`, but I thought it was better to enforce a consistent way to set the edition in tests.

I also added the edition to the stamp, so that changing `--edition` results in tests being re-executed.

r? `@jieyouxu`
2025-04-11 10:53:45 +00:00
..
assoc Adjust assoc-oddities-3.rs 2024-12-08 15:32:04 +08:00
attribute compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
char Use underline suggestions for purely 'additive' replacements 2025-02-14 00:27:13 -08:00
diff-markers UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
issues Auto merge of #139555 - petrochenkov:errkind-ann, r=jieyouxu 2025-04-09 02:19:37 +00:00
macro UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
mismatched-braces Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
misspelled-keywords Use closure parse code 2025-03-06 17:58:32 -03:00
raw UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
recover UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
removed-syntax Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
shebang UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03: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
as-precedence.rs Adjust as-precedence.rs 2024-12-10 11:34:13 +08:00
ascii-only-character-escape.rs
ascii-only-character-escape.stderr
associated-path-shl.rs Move tests/ui/associated-path-shl.rs to tests/ui/parser/ 2024-12-17 19:09:00 +08:00
associated-path-shl.stderr Move tests/ui/associated-path-shl.rs to tests/ui/parser/ 2024-12-17 19:09:00 +08:00
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 Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
bad-crate-name.rs
bad-crate-name.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
bad-escape-suggest-raw-string.rs
bad-escape-suggest-raw-string.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
bad-fn-ptr-qualifier.fixed Trim extra whitespace in fn ptr suggestion span 2025-01-27 17:17:22 +00:00
bad-fn-ptr-qualifier.rs Update tests. 2025-01-07 16:04:14 +01:00
bad-fn-ptr-qualifier.stderr Trim extra whitespace in fn ptr suggestion span 2025-01-27 17:17:22 +00:00
bad-if-statements.rs
bad-if-statements.stderr Reword suggestion message 2024-11-16 20:03:31 +00:00
bad-interpolated-block.rs
bad-interpolated-block.stderr
bad-let-as-field.rs
bad-let-as-field.stderr
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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
bad-lit-suffixes.rs Update tests. 2025-01-07 16:04:14 +01:00
bad-lit-suffixes.stderr compiler: replace ExternAbi::name calls with formatters 2025-02-11 19:42:47 -08:00
bad-match.rs
bad-match.stderr
bad-name.rs Recover more expressions in patterns 2024-09-18 20:37:56 +02:00
bad-name.stderr Don't emit "field expressions may not have generic arguments" if it's a method call without () 2024-12-11 16:23:04 +01:00
bad-pointer-type.rs
bad-pointer-type.stderr
bad-recover-kw-after-impl.rs Gate async fn trait bound modifier on async_trait_bounds 2024-12-02 16:50:44 +00:00
bad-recover-kw-after-impl.stderr Gate async fn trait bound modifier on async_trait_bounds 2024-12-02 16:50:44 +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
bad-value-ident-false.rs
bad-value-ident-false.stderr
bad-value-ident-true.rs
bad-value-ident-true.stderr
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
block-no-opening-brace.rs Use closure parse code 2025-03-06 17:58:32 -03:00
block-no-opening-brace.stderr Use closure parse code 2025-03-06 17:58:32 -03:00
bound-single-question-mark.rs
bound-single-question-mark.stderr
bounds-lifetime-1.rs
bounds-lifetime-1.stderr
bounds-lifetime-2.rs
bounds-lifetime-2.stderr
bounds-lifetime-where-1.rs
bounds-lifetime-where-1.stderr
bounds-lifetime-where.rs Implment #[cfg] and #[cfg_attr] in where clauses 2025-03-01 22:02:46 +08:00
bounds-lifetime-where.stderr Implment #[cfg] and #[cfg_attr] in where clauses 2025-03-01 22:02:46 +08:00
bounds-lifetime.rs
bounds-lifetime.stderr
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
bounds-type.rs Rename -Zparse-only. 2024-11-29 06:10:15 +11: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 Remove Lexer's dependency on Parser. 2024-12-13 07:10:20 +11:00
brace-in-let-chain.stderr Remove Lexer's dependency on Parser. 2024-12-13 07:10:20 +11:00
break-in-unlabeled-block-in-macro.rs
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
builtin-syntax.rs
builtin-syntax.stderr
byte-literals.rs
byte-literals.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
byte-string-literals.rs
byte-string-literals.stderr Refactor emitter to better account for unicode chars when trimming 2025-03-07 17:55:08 +00:00
can-begin-expr-check.rs
can-begin-expr-check.stderr
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 compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
circular_modules_main.stderr Keep track of parse errors in mods and don't emit resolve errors for paths involving them 2024-12-10 18:17:24 +00:00
class-implements-bad-trait.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
class-implements-bad-trait.stderr compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
closure-return-syntax.rs Fix diagnostic struct typo, make sure is_array_like_block checks that it's a block 2025-03-20 16:01:13 +00:00
closure-return-syntax.stderr Make dedicated recovery for missing braces on closure with return 2025-03-20 16:02:24 +00:00
column-offset-1-based.rs
column-offset-1-based.stderr
const-param-decl-on-type-instead-of-impl.rs Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
const-param-decl-on-type-instead-of-impl.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
constraints-before-generic-args-syntactic-pass.rs Stabilize associated type bounds 2024-03-08 20:56:25 +00:00
deep-unmatched-angle-brackets.rs
deep-unmatched-angle-brackets.stderr
default-on-wrong-item-kind.rs
default-on-wrong-item-kind.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
default-unmatched-assoc.rs
default-unmatched-assoc.stderr
default-unmatched-extern.rs
default-unmatched-extern.stderr
default-unmatched.rs
default-unmatched.stderr
default.rs
default.stderr Improve diagnostic by suggesting to remove visibility qualifier 2024-04-12 12:59:40 +09:00
defaultness-invalid-places-fail-semantic.rs
defaultness-invalid-places-fail-semantic.stderr
deli-ident-issue-1.rs
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
deli-ident-issue-2.stderr
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 UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
do-catch-suggests-try.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
do-not-suggest-semicolon-before-array.rs
do-not-suggest-semicolon-before-array.stderr
do-not-suggest-semicolon-between-macro-without-exclamation-mark-and-array.rs
do-not-suggest-semicolon-between-macro-without-exclamation-mark-and-array.stderr
doc-after-struct-field.rs
doc-after-struct-field.stderr
doc-before-attr.rs
doc-before-attr.stderr
doc-before-bad-variant.rs Tweak "expected ident" parse error to avoid talking about doc comments 2025-02-19 17:26:13 +00:00
doc-before-bad-variant.stderr Tweak "expected ident" parse error to avoid talking about doc comments 2025-02-19 17:26:13 +00:00
doc-before-eof.rs
doc-before-eof.stderr
doc-before-extern-rbrace.rs
doc-before-extern-rbrace.stderr
doc-before-fn-rbrace.rs
doc-before-fn-rbrace.stderr
doc-before-identifier.rs
doc-before-identifier.stderr
doc-before-mod-rbrace.rs
doc-before-mod-rbrace.stderr
doc-before-rbrace.rs
doc-before-rbrace.stderr
doc-before-semi.rs
doc-before-semi.stderr
doc-before-struct-rbrace-1.rs
doc-before-struct-rbrace-1.stderr
doc-before-struct-rbrace-2.rs
doc-before-struct-rbrace-2.stderr
doc-before-syntax-error.rs Tweak "expected ident" parse error to avoid talking about doc comments 2025-02-19 17:26:13 +00:00
doc-before-syntax-error.stderr Tweak "expected ident" parse error to avoid talking about doc comments 2025-02-19 17:26:13 +00: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
doc-inside-trait-item.rs
doc-inside-trait-item.stderr
dotdotdot-expr.rs
dotdotdot-expr.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
double-pointer.rs
double-pointer.stderr
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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
dyn-trait-compatibility.rs Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
dyn-trait-compatibility.stderr Reword "crate not found" resolve message 2025-01-24 01:19:50 +00: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 Reword suggestion message 2024-11-16 20:03:31 +00:00
emoji-identifiers.rs
emoji-identifiers.stderr More sophisticated span trimming 2025-02-21 00:41:17 +00:00
empty-impl-semicolon.rs
empty-impl-semicolon.stderr
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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
eq-less-to-less-eq.rs
eq-less-to-less-eq.stderr
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 Make E0614 a structured error 2025-02-25 16:56:04 +00: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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
extern-abi-from-mac-literal-frag.rs Remove NtExpr and NtLiteral. 2025-04-02 06:20:35 +11: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 More sophisticated span trimming 2025-02-21 00:41:17 +00:00
extern-expected-fn-or-brace.rs
extern-expected-fn-or-brace.stderr
extern-foreign-crate.rs
extern-foreign-crate.stderr
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 Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
ferris-static-mut.rs fix: naming convention "ferris" suggestion for idents named 🦀 2025-02-21 20:44:35 +00:00
ferris-static-mut.stderr fix: naming convention "ferris" suggestion for idents named 🦀 2025-02-21 20:44:35 +00:00
ferris-struct.rs fix: naming convention "ferris" suggestion for idents named 🦀 2025-02-21 20:44:35 +00:00
ferris-struct.stderr fix: naming convention "ferris" suggestion for idents named 🦀 2025-02-21 20:44:35 +00:00
float-field-interpolated.rs Remove NtExpr and NtLiteral. 2025-04-02 06:20:35 +11:00
float-field-interpolated.stderr Remove NtExpr and NtLiteral. 2025-04-02 06:20:35 +11:00
float-field.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03: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 Tweak multispan rendering 2024-12-12 23:36:27 +00:00
fn-body-eq-expr-semi.rs
fn-body-eq-expr-semi.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
fn-body-optional-semantic-fail.rs rustc_intrinsic: support functions without body; they are implicitly marked as must-be-overridden 2025-01-04 11:41:51 +01:00
fn-body-optional-semantic-fail.stderr rustc_intrinsic: support functions without body; they are implicitly marked as must-be-overridden 2025-01-04 11:41:51 +01:00
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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +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
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
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
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
fn-field-parse-error-ice.rs
fn-field-parse-error-ice.stderr
fn-header-semantic-fail.rs Note what qualifier 2024-10-11 11:30:08 -04:00
fn-header-semantic-fail.stderr Note what qualifier 2024-10-11 11:30:08 -04: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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
foreign-const-syntactic-fail.rs
foreign-const-syntactic-fail.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +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
foreign-ty-semantic-fail.stderr
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
generic-statics.stderr
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 Stabilize the 2024 edition 2024-11-22 11:12:15 -08: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
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
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
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
impl-on-unsized-typo.stderr
impl-parsing-2.rs Avoid an empty trait name in impl blocks. 2025-04-09 15:01:14 +10:00
impl-parsing-2.stderr Avoid an empty trait name in impl blocks. 2025-04-09 15:01:14 +10:00
impl-parsing.rs Avoid an empty trait name in impl blocks. 2025-04-09 15:01:14 +10:00
impl-parsing.stderr Avoid an empty trait name in impl blocks. 2025-04-09 15:01:14 +10:00
impl-qpath.rs Rename -Zparse-only. 2024-11-29 06:10:15 +11: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 Yeet effects feature 2024-11-03 18:59:31 +00:00
import-from-path.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
import-from-path.stderr compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
import-from-rename.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
import-from-rename.stderr compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
import-glob-path.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
import-glob-path.stderr compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
import-glob-rename.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
import-glob-rename.stderr compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03: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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
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
integer-literal-start-ident.rs
integer-literal-start-ident.stderr
intersection-patterns-1.fixed UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
intersection-patterns-1.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
intersection-patterns-1.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
intersection-patterns-2.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
intersection-patterns-2.stderr
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
issue-116781.stderr
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 Update tests. 2025-01-07 16:04:14 +01:00
item-kw-case-mismatch.rs Update tests. 2025-01-07 16:04:14 +01:00
item-kw-case-mismatch.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
item-needs-block.rs
item-needs-block.stderr
keyword-abstract.rs
keyword-abstract.stderr
keyword-as-as-identifier.rs
keyword-as-as-identifier.stderr
keyword-box-as-identifier.rs
keyword-box-as-identifier.stderr
keyword-break-as-identifier.rs
keyword-break-as-identifier.stderr
keyword-const-as-identifier.rs
keyword-const-as-identifier.stderr
keyword-continue-as-identifier.rs
keyword-continue-as-identifier.stderr
keyword-else-as-identifier.rs
keyword-else-as-identifier.stderr
keyword-enum-as-identifier.rs
keyword-enum-as-identifier.stderr
keyword-final.rs
keyword-final.stderr
keyword-fn-as-identifier.rs
keyword-fn-as-identifier.stderr
keyword-for-as-identifier.rs
keyword-for-as-identifier.stderr
keyword-if-as-identifier.rs
keyword-if-as-identifier.stderr
keyword-impl-as-identifier.rs
keyword-impl-as-identifier.stderr
keyword-in-as-identifier.rs
keyword-in-as-identifier.stderr
keyword-let-as-identifier.rs
keyword-let-as-identifier.stderr
keyword-loop-as-identifier.rs
keyword-loop-as-identifier.stderr
keyword-match-as-identifier.rs
keyword-match-as-identifier.stderr
keyword-mod-as-identifier.rs
keyword-mod-as-identifier.stderr
keyword-move-as-identifier.rs
keyword-move-as-identifier.stderr
keyword-mut-as-identifier.rs
keyword-mut-as-identifier.stderr
keyword-override.rs
keyword-override.stderr
keyword-pub-as-identifier.rs
keyword-pub-as-identifier.stderr
keyword-ref-as-identifier.rs
keyword-ref-as-identifier.stderr
keyword-return-as-identifier.rs
keyword-return-as-identifier.stderr
keyword-static-as-identifier.rs
keyword-static-as-identifier.stderr
keyword-struct-as-identifier.rs
keyword-struct-as-identifier.stderr
keyword-trait-as-identifier.rs
keyword-trait-as-identifier.stderr
keyword-try-as-identifier-edition2018.rs replace //@ compile-flags: --edition with //@ edition 2025-04-10 09:56:37 +02:00
keyword-try-as-identifier-edition2018.stderr
keyword-type-as-identifier.rs
keyword-type-as-identifier.stderr
keyword-typeof.rs
keyword-typeof.stderr
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
keyword-use-as-identifier.rs
keyword-use-as-identifier.stderr
keyword-where-as-identifier.rs
keyword-where-as-identifier.stderr
keyword-while-as-identifier.rs
keyword-while-as-identifier.stderr
keyword.rs
keyword.stderr
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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
label-after-block-like.rs
label-after-block-like.stderr Reword suggestion message 2024-11-16 20:03:31 +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-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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +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 diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
lifetime_starts_expressions.rs
lifetime_starts_expressions.stderr
lit-err-in-macro.rs Update tests. 2025-01-07 16:04:14 +01:00
lit-err-in-macro.stderr compiler: replace ExternAbi::name calls with formatters 2025-02-11 19:42:47 -08:00
macro-bad-delimiter-ident.rs
macro-bad-delimiter-ident.stderr
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
macro-mismatched-delim-brace-paren.rs
macro-mismatched-delim-brace-paren.stderr
macro-mismatched-delim-paren-brace.rs
macro-mismatched-delim-paren-brace.stderr
macros-no-semicolon-items.rs
macros-no-semicolon-items.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
macros-no-semicolon.rs
macros-no-semicolon.stderr Make ; suggestions inline 2024-07-12 03:22:32 +00:00
match-arm-without-body.rs
match-arm-without-body.stderr Fix "missing match arm body" suggestion involving ! 2025-02-22 18:30:14 +00:00
match-arm-without-braces.rs
match-arm-without-braces.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
match-arrows-block-then-binop.rs
match-arrows-block-then-binop.stderr
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
mbe_missing_right_paren.rs compiletest: Support matching diagnostics on lines below 2025-03-29 13:30:20 +03:00
mbe_missing_right_paren.stderr
mismatched-delim-brace-empty-block.rs
mismatched-delim-brace-empty-block.stderr
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-closing-angle-bracket-eq-constraint.rs
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
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
missing-expression-in-for-loop.stderr
missing-fat-arrow.rs
missing-fat-arrow.stderr
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 Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08: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
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
missing_right_paren.rs compiletest: Support matching diagnostics on lines below 2025-03-29 13:30:20 +03:00
missing_right_paren.stderr compiletest: Support matching diagnostics on lines below 2025-03-29 13:30:20 +03: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
mod_file_not_exist.rs Enable more tests on Windows 2025-02-03 10:39:32 -05:00
mod_file_not_exist.stderr Enable more tests on Windows 2025-02-03 10:39:32 -05:00
mod_file_not_exist_windows.rs Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
mod_file_not_exist_windows.stderr Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
mod_file_with_path_attr.rs Point at invalid utf-8 span on user's source code 2025-01-22 00:52:27 +00:00
mod_file_with_path_attr.stderr Point at invalid utf-8 span on user's source code 2025-01-22 00:52:27 +00: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
multitrait.rs
multitrait.stderr
mut-patterns.rs Remove NtPat. 2025-02-28 08:36:12 +11:00
mut-patterns.stderr Remove NtPat. 2025-02-28 08:36:12 +11:00
nested-bad-turbofish.rs
nested-bad-turbofish.stderr
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
new-unicode-escapes-2.rs
new-unicode-escapes-2.stderr
new-unicode-escapes-3.rs
new-unicode-escapes-3.stderr
new-unicode-escapes-4.rs
new-unicode-escapes-4.stderr
no-binary-float-literal.rs
no-binary-float-literal.stderr
no-const-fn-in-extern-block.rs Note what qualifier 2024-10-11 11:30:08 -04:00
no-const-fn-in-extern-block.stderr Note what qualifier 2024-10-11 11:30:08 -04: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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
nt-parsing-has-recovery.rs
nt-parsing-has-recovery.stderr
numeric-lifetime.rs
numeric-lifetime.stderr
obsolete-syntax-impl-for-dotdot.rs
obsolete-syntax-impl-for-dotdot.stderr
old-suffixes-are-really-forbidden.rs
old-suffixes-are-really-forbidden.stderr
omitted-arg-in-item-fn.rs
omitted-arg-in-item-fn.stderr
operator-associativity.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
operator-precedence-braces-exprs.rs cleaned and organized 3 tests in ./tests/ui/issues 2025-03-21 22:55:00 -06:00
paamayim-nekudotayim.rs
paamayim-nekudotayim.stderr
parse-assoc-type-lt.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08: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
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
parser-recovery-2.stderr
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
pat-lt-bracket-3.rs
pat-lt-bracket-3.stderr
pat-lt-bracket-4.rs
pat-lt-bracket-4.stderr
pat-lt-bracket-5.rs Handle methodcalls & operators in patterns 2024-01-28 16:12:21 +01:00
pat-lt-bracket-5.stderr Update tests for new TRPL chapter order 2024-11-23 08:57:25 -07:00
pat-lt-bracket-6.rs Handle methodcalls & operators in patterns 2024-01-28 16:12:21 +01:00
pat-lt-bracket-6.stderr Update tests for new TRPL chapter order 2024-11-23 08:57:25 -07:00
pat-lt-bracket-7.rs parse guard patterns 2024-11-24 19:42:33 +01:00
pat-lt-bracket-7.stderr parse guard patterns 2024-11-24 19:42:33 +01:00
pat-ranges-1.rs
pat-ranges-1.stderr
pat-ranges-2.rs
pat-ranges-2.stderr
pat-ranges-3.rs Handle methodcalls & operators in patterns 2024-01-28 16:12:21 +01:00
pat-ranges-3.stderr Update tests for new TRPL chapter order 2024-11-23 08:57:25 -07:00
pat-ref-enum.rs
pat-ref-enum.stderr
pat-tuple-1.rs
pat-tuple-1.stderr
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
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 diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
public-instead-of-pub-2.rs
public-instead-of-pub-2.stderr
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 diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00: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 diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00: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
range-3.rs
range-3.stderr
range-4.rs
range-4.stderr
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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
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_inclusive_dotdotdot.rs
range_inclusive_dotdotdot.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
ranges-precedence.rs Add more ranges parsing tests 2024-12-29 11:03:06 -08:00
recover-hrtb-before-dyn-impl-kw.rs
recover-hrtb-before-dyn-impl-kw.stderr
recovered-struct-variant.rs
recovered-struct-variant.stderr
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 UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03: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
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
semi-in-let-chain.stderr
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
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.rs review comments: rewordings 2024-12-09 21:55:13 +00:00
struct-default-values-and-missing-field-separator.stderr review comments: rewordings 2024-12-09 21:55:13 +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
struct-literal-in-match-guard.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
struct-literals-in-invalid-places.rs Incorporate issue-111692.rs into the larger test file and add more test cases 2025-03-25 15:16:16 +01:00
struct-literals-in-invalid-places.stderr Incorporate issue-111692.rs into the larger test file and add more test cases 2025-03-25 15:16:16 +01: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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
suggest-const-for-global-var.rs
suggest-const-for-global-var.stderr Diagnostics for let mut in item context 2024-11-17 22:30:11 +00: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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +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
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
suggest-static-for-global-var-mut.rs Diagnostics for let mut in item context 2024-11-17 22:30:11 +00:00
suggest-static-for-global-var-mut.stderr Diagnostics for let mut in item context 2024-11-17 22:30:11 +00: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
ternary_operator.stderr
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
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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
trait-bounds-not-on-impl.rs
trait-bounds-not-on-impl.stderr
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 Compiler: Rename "object safe" to "dyn compatible" 2024-09-25 13:26:48 +02: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
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
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
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 Brace-ident-colon can certainly no longer start a block 2025-03-25 15:15:21 +01:00
type-ascription-in-pattern.stderr Brace-ident-colon can certainly no longer start a block 2025-03-25 15:15:21 +01:00
type-parameters-in-field-exprs.rs
type-parameters-in-field-exprs.stderr
typed-self-param.rs Fix suggestion when shorthand self has erroneous type 2024-12-04 19:52:53 +00:00
typed-self-param.stderr Fix suggestion when shorthand self has erroneous type 2024-12-04 19:52:53 +00:00
typod-const-in-const-param-def.rs
typod-const-in-const-param-def.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
unbalanced-doublequote.rs compiletest: Support matching diagnostics on lines below 2025-03-29 13:30:20 +03:00
unbalanced-doublequote.stderr compiletest: Support matching diagnostics on lines below 2025-03-29 13:30:20 +03: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 compiletest: Support matching on diagnostics without a span 2025-03-25 17:33:09 +03:00
unclosed-delimiter-in-dep.stderr
unclosed_delim_mod.rs
unclosed_delim_mod.stderr
underscore-suffix-for-float.rs
underscore-suffix-for-float.stderr
underscore-suffix-for-string.rs
underscore-suffix-for-string.stderr
underscore_item_not_const.rs
underscore_item_not_const.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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
unicode-chars.rs
unicode-chars.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
unicode-control-codepoints.rs Account for format_args in HiddenUnicodeCodepoints lint 2024-12-31 05:03:22 +00:00
unicode-control-codepoints.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
unicode-quote-chars.rs
unicode-quote-chars.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
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
unnecessary-let.fixed Trim whitespace in RemoveLet primary span 2024-11-15 17:43:29 +00:00
unnecessary-let.rs Trim whitespace in RemoveLet primary span 2024-11-15 17:43:29 +00:00
unnecessary-let.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +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
unsized.rs
unsized.stderr
unsized2.rs
unsized2.stderr
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 Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
use-ends-with-mod-sep.rs
use-ends-with-mod-sep.stderr
use-unclosed-brace.rs compiletest: Support matching diagnostics on lines below 2025-03-29 13:30:20 +03: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 compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
utf16-be-without-bom.stderr compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
utf16-le-without-bom.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
utf16-le-without-bom.stderr compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03: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
where-clauses-no-bounds-or-predicates.rs
where-clauses-no-bounds-or-predicates.stderr
where_with_bound.rs
where_with_bound.stderr
while-if-let-without-body.rs
while-if-let-without-body.stderr
wrong-escape-of-curly-braces.rs
wrong-escape-of-curly-braces.stderr