rust/tests/ui/parser
Guillaume Gomez ae0e7b97e0
Rollup merge of #144066 - RalfJung:extern-c-variadics, r=workingjubilee
stabilize c-style varargs for sysv64, win64, efiapi, aapcs

This has been split up so the PR now only contains the extended_varargs_abi_support stabilization; "system" has been moved to https://github.com/rust-lang/rust/pull/145954.

**Previous (combined) PR description:**

This stabilizes extern block declarations of variadic functions with the system, sysv64, win64, efiapi, aapcs ABIs. This corresponds to the extended_varargs_abi_support and extern_system_varargs feature gates.

The feature gates were split up since it seemed like there might be further discussion needed for what exactly "system" ABI variadic functions should do, but a [consensus](https://github.com/rust-lang/rust/issues/136946#issuecomment-2967847553) has meanwhile been reached: they shall behave like "C" functions. IOW, the ABI of a "system" function is (bold part is new in this PR):
- "stdcall" for win32 targets **for non-variadic functions**
- "C" for everything else

This had been previously stabilized *without FCP* in https://github.com/rust-lang/rust/pull/116161, which got reverted in https://github.com/rust-lang/rust/pull/136897. There was also a "fun" race condition involved with the system ABI being [added](https://github.com/rust-lang/rust/pull/119587) to the list of variadic-supporting ABIs between the creation and merge of rust-lang/rust#116161.

There was a question raised [here](https://github.com/rust-lang/rust/pull/116161#issuecomment-1983829513) whether t-lang even needs to be involved for a change like this. Not sure if that has meanwhile been clarified? The behavior of the "system" ABI (a Rust-specific ABI) definitely feels like t-lang territory to me.

Fixes rust-lang/rust#100189
Cc `@rust-lang/lang`

# Stabilization report

> ## General design

>  ### What is the RFC for this feature and what changes have occurred to the user-facing design since the RFC was finalized?

AFAIK there is no RFC. The tracking issues are
- https://github.com/rust-lang/rust/issues/100189
- https://github.com/rust-lang/rust/issues/136946

>  ### What behavior are we committing to that has been controversial? Summarize the major arguments pro/con.

The only controversial point is whether "system" ABI functions should support variadics.
- Pro: This allows crates like windows-rs to consistently use "system", see e.g. https://github.com/microsoft/windows-rs/issues/3626.
- Cons: `@workingjubilee` had some implementation concerns, but I think those have been [resolved](https://github.com/rust-lang/rust/issues/136946#issuecomment-2967847553). EDIT: turns out Jubilee still has concerns (she mentioned that in a DM); I'll let her express those.

Note that "system" is already a magic ABI we introduced to "do the right thing". This just makes it do the right thing in more cases. In particular, it means that on Windows one can almost always just do
```rust
extern "system" {
  // put all the things here
}
```
and it'll do the right thing, rather than having to split imports into non-varargs and varargs, with the varargs in a separate `extern "C"` block (and risking accidentally putting a non-vararg there).

(I am saying "almost" always because some Windows API functions actually use cdecl, not stdcall, on x86. Those of course need to go in `extern "C"` blocks.)

> ### Are there extensions to this feature that remain unstable? How do we know that we are not accidentally committing to those?

Actually defining variadic functions in Rust remains unstable, under the [c_variadic feature gate](https://github.com/rust-lang/rust/issues/44930).

> ## Has a Call for Testing period been conducted? If so, what feedback was received?
>
> Does any OSS nightly users use this feature? For instance, a useful indication might be "search <grep.app> for `#![feature(FEATURE_NAME)]` and had `N` results".

There was no call for testing.

A search brings up https://github.com/rust-osdev/uefi-rs/blob/main/uefi-raw/src/table/boot.rs using this for "efiapi". This doesn't seem widely used, but it is an "obvious" gap in our support for c-variadics.

> ## Implementation quality

All rustc does here is forward the ABI to LLVM so there's lot a lot to say here...

> ### Summarize the major parts of the implementation and provide links into the code (or to PRs)
>
> An example for async closures: <https://rustc-dev-guide.rust-lang.org/coroutine-closures.html>.

The check for allowed variadic ABIs is [here](9c870d30e2/compiler/rustc_hir_analysis/src/lib.rs (L109-L126)).

The special handling of "system" is [here](c24914ec83/compiler/rustc_target/src/spec/abi_map.rs (L82-L85)).

> ### Summarize existing test coverage of this feature
>
> Consider what the "edges" of this feature are.  We're particularly interested in seeing tests that assure us about exactly what nearby things we're not stabilizing.
>
> Within each test, include a comment at the top describing the purpose of the test and what set of invariants it intends to demonstrate. This is a great help to those reviewing the tests at stabilization time.
>
> - What does the test coverage landscape for this feature look like?
>   - Tests for compiler errors when you use the feature wrongly or make mistakes?
>   - Tests for the feature itself:
>       - Limits of the feature (so failing compilation)
>       - Exercises of edge cases of the feature
>       - Tests that checks the feature works as expected (where applicable, `//@ run-pass`).
>   - Are there any intentional gaps in test coverage?
>
> Link to test folders or individual tests (ui/codegen/assembly/run-make tests, etc.).

Prior PRs add a codegen test for all ABIs and tests actually calling extern variadic functions for sysv64 and win64:
- https://github.com/rust-lang/rust/pull/144359
- https://github.com/rust-lang/rust/pull/144379

We don't have a way of executing uefi target code in the test suite, so it's unclear how to fully test efiapi. aapcs could probably be done? (But note that we have hardly an such actually-calling-functions tests for ABI things, we almost entirely rely on codegen tests.)

The test ensuring that we do *not* stabilize *defining* c-variadic functions is `tests/ui/feature-gates/feature-gate-c_variadic.rs`.

> ### What outstanding bugs in the issue tracker involve this feature? Are they stabilization-blocking?

None that I am aware of.

> ### What FIXMEs are still in the code for that feature and why is it ok to leave them there?

None that I am aware of.

> ### Summarize contributors to the feature by name for recognition and assuredness that people involved in the feature agree with stabilization

`@Soveu` added sysv64, win64, efiapi, aapcs to the list of ABIs that allow variadics, `@beepster4096` added system.  `@workingjubilee` recently refactored the ABI handling in the compiler, also affecting this feature.

> ### Which tools need to be adjusted to support this feature. Has this work been done?
>
> Consider rustdoc, clippy, rust-analyzer, rustfmt, rustup, docs.rs.

Maybe RA needs to be taught about the new allowed ABIs? No idea how precisely they mirror what exactly rustc accepts and rejects here.

> ## Type system and execution rules

> ### What compilation-time checks are done that are needed to prevent undefined behavior?
>
>  (Be sure to link to tests demonstrating that these tests are being done.)

Nothing new here, this just expands the existing support for calling variadic functions to more ABIs.

> ### Does the feature's implementation need checks to prevent UB or is it sound by default and needs opt in in places to perform the dangerous/unsafe operations? If it is not sound by default, what is the rationale?

Nothing new here, this just expands the existing support for calling variadic functions to more ABIs.

> ### Can users use this feature to introduce undefined behavior, or use this feature to break the abstraction of Rust and expose the underlying assembly-level implementation? (Describe.)

Nothing new here, this just expands the existing support for calling variadic functions to more ABIs.

> ### What updates are needed to the reference/specification? (link to PRs when they exist)

- https://github.com/rust-lang/reference/pull/1936

> ## Common interactions

> ### Does this feature introduce new expressions and can they produce temporaries? What are the lifetimes of those temporaries?

No.

> ### What other unstable features may be exposed by this feature?

None.
2025-09-02 17:08:52 +02:00
..
assoc Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
attribute Updated uitests for new parser 2025-08-22 08:58:45 +02: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 Added checks for attribute in type case 2025-08-05 07:10:31 +05:00
macro mbe: Parse macro derive rules 2025-08-14 13:53:57 -07:00
mismatched-braces Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
misspelled-keywords fix: Add col separator before secondary messages with no source 2025-08-26 15:15:17 -06:00
raw cleaned up some tests 2025-07-05 00:45:24 +05:00
recover fix: Add col separator before secondary messages with no source 2025-08-26 15:15:17 -06:00
removed-syntax bless tests with new lint messages 2025-08-19 21:27:10 +02: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ascii-only-character-escape.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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
attribute-on-empty.rs Added checks for attribute in type case 2025-08-05 07:10:31 +05:00
attribute-on-empty.stderr Added checks for attribute in type case 2025-08-05 07:10:31 +05:00
attribute-on-type.fixed Added checks for attribute in type case 2025-08-05 07:10:31 +05:00
attribute-on-type.rs Added checks for attribute in type case 2025-08-05 07:10:31 +05:00
attribute-on-type.stderr Added checks for attribute in type case 2025-08-05 07:10:31 +05: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Use a better link 2023-06-10 14:46:11 -04:00
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 Rework how the disallowed qualifier lints are generated 2025-06-13 18:13:34 +02:00
bad-fn-ptr-qualifier.rs Rework how the disallowed qualifier lints are generated 2025-06-13 18:13:34 +02:00
bad-fn-ptr-qualifier.stderr Rework how the disallowed qualifier lints are generated 2025-06-13 18:13:34 +02:00
bad-if-statements.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-if-statements.stderr Reword suggestion message 2024-11-16 20:03:31 +00:00
bad-interpolated-block.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-interpolated-block.stderr Add suggestion for bad block fragment error 2023-06-23 19:18:20 +00:00
bad-let-as-field.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
bad-lit-suffixes.rs Update uitest stderr 2025-08-28 20:05:04 +02:00
bad-lit-suffixes.stderr Update uitest stderr 2025-08-28 20:05:04 +02:00
bad-match.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bare-struct-body.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bastion-of-the-turbofish.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
better-expected.rs Recover and suggest use ; to construct array type 2025-07-15 12:00:46 +08:00
better-expected.stderr Recover and suggest use ; to construct array type 2025-07-15 12:00:46 +08:00
bind-struct-early-modifiers.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Add expectation for { when parsing lone coroutine qualifiers 2025-06-11 17:11:58 +02:00
block-no-opening-brace.stderr Add expectation for { when parsing lone coroutine qualifiers 2025-06-11 17:11:58 +02:00
bound-single-question-mark.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bounds-lifetime.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bounds-obj-parens.rs Add missing dyn keywords to tests that do not test for them Part 2 2025-06-03 13:28:38 +02:00
bounds-type-where.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bounds-type-where.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bounds-type.rs Change const trait bound syntax from ~const to [const] 2025-06-26 13:46:45 +00:00
bounds-type.stderr Fix the span of trait bound modifier [const] 2025-06-29 04:56:28 +02:00
brace-in-let-chain.rs Remove let_chains feature gate from even more tests 2025-04-18 15:57:29 +02:00
brace-in-let-chain.stderr Remove Lexer's dependency on Parser. 2024-12-13 07:10:20 +11: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
chained-comparison-suggestion.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
circular_modules_hello.rs tests: use //@ ignore-auxiliary with backlinked primary test file 2025-04-17 19:45:28 +08: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 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 Use cfg(false) in UI tests 2025-04-03 21:41:58 +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 Tweak trait modifier errors 2025-08-11 16:58:21 -05:00
default-on-wrong-item-kind.stderr Tweak trait modifier errors 2025-08-11 16:58:21 -05:00
default-unmatched-assoc.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
default-unmatched-assoc.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
default-unmatched-extern.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
default-unmatched-extern.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
default-unmatched.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Remove let_chains feature gate from even more tests 2025-04-18 15:57:29 +02: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 Deduplicate unmatched_delims in rustc_parse to reduce confusion 2025-07-18 20:34:58 +08:00
deli-ident-issue-2.stderr Deduplicate unmatched_delims in rustc_parse to reduce confusion 2025-07-18 20:34:58 +08:00
diagnostics-parenthesized-type-arguments-ice-issue-122345.rs Use parse_param_general when parsing (T, U)->R in parse_path_segment 2025-05-07 22:56:14 +08:00
diagnostics-parenthesized-type-arguments-ice-issue-122345.stderr Use parse_param_general when parsing (T, U)->R in parse_path_segment 2025-05-07 22:56:14 +08:00
do-catch-suggests-try.rs compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03:00
do-catch-suggests-try.stderr compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03: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
doc-after-struct-field.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-after-struct-field.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-before-attr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-before-attr.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
doc-before-struct-rbrace-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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-after-missing-comma-issue-142311.rs Dont suggest converting /// to regular comment when it appears after missing , in list 2025-06-16 23:07:11 +08:00
doc-comment-after-missing-comma-issue-142311.stderr Dont suggest converting /// to regular comment when it appears after missing , in list 2025-06-16 23:07:11 +08:00
doc-comment-in-generic.rs cleaned up some tests 2025-07-05 00:45:24 +05:00
doc-comment-in-if-statement.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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-comment-parsing.rs comments 2025-07-25 20:38:54 +05:00
doc-inside-trait-item.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dotdotdot-expr.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
double-pointer.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
duplicate-where-clauses.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
dyn-trait-compatibility.rs Add missing 2015 edition directives 2025-06-03 11:45:58 +02:00
dyn-trait-compatibility.stderr Add missing 2015 edition directives 2025-06-03 11:45:58 +02: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
emoji-identifiers.stderr More sophisticated span trimming 2025-02-21 00:41:17 +00:00
empty-impl-semicolon.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
empty-impl-semicolon.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
encode-symbol-ice-12920.rs comments 2025-07-31 21:25:49 +05: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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
expr-as-stmt-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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-on-a-raw-pointer.rs improve diagnostic for raw pointer field access using -> 2025-04-22 00:53:12 +05:00
expr-rarrow-call-on-a-raw-pointer.stderr improve diagnostic for raw pointer field access using -> 2025-04-22 00:53:12 +05:00
expr-rarrow-call.fixed improve diagnostic for raw pointer field access using -> 2025-04-22 00:53:12 +05:00
expr-rarrow-call.rs improve diagnostic for raw pointer field access using -> 2025-04-22 00:53:12 +05:00
expr-rarrow-call.stderr improve diagnostic for raw pointer field access using -> 2025-04-22 00:53:12 +05: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 Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
extern-crate-async.rs Add missing 2015 edition directives 2025-06-03 11:45:58 +02:00
extern-crate-unexpected-token.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-crate-unexpected-token.stderr More sophisticated span trimming 2025-02-21 00:41:17 +00:00
extern-expected-fn-or-brace.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 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 Account for bare tuples in field searching logic 2025-08-07 21:39:00 +00: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 compiletest: Do not require annotations on empty labels and suggestions 2025-05-03 22:49:23 +03:00
fn-arg-doc-comment.stderr compiletest: Do not require annotations on empty labels and suggestions 2025-05-03 22:49:23 +03:00
fn-body-eq-expr-semi.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
fn-colon-return-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 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 Add missing 2015 edition directives 2025-06-03 11:45:58 +02:00
fn-field-parse-error-ice.stderr Add missing 2015 edition directives 2025-06-03 11:45:58 +02:00
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 Use cfg(false) in UI tests 2025-04-03 21:41:58 +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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
foreign-static-semantic-fail.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
foreign-static-syntactic-pass.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +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 Use cfg(false) in UI tests 2025-04-03 21:41:58 +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
generics-rangle-eq-15043.rs comments 2025-08-09 16:27:20 +05: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 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 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 Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
impl-item-const-semantic-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
impl-item-fn-no-body-semantic-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Use cfg(false) in UI tests 2025-04-03 21:41:58 +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-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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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-method-call-underscore.rs cleaned up some tests 2025-07-10 18:47:20 +05: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 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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
inverted-parameters.rs Add FnContext in parser for diagnostic 2025-08-14 21:31:47 +08:00
inverted-parameters.stderr Add FnContext in parser for diagnostic 2025-08-14 21:31:47 +08:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
item-free-static-no-body-semantic-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Use cfg(false) in UI tests 2025-04-03 21:41:58 +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 Use cfg(false) in UI tests 2025-04-03 21:41:58 +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 Extend is_case_difference to handle digit-letter confusables 2025-07-31 13:55:59 +08:00
item-needs-block.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
item-needs-block.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-abstract.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-box-as-identifier.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-break-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 replace //@ compile-flags: --edition with //@ edition 2025-04-10 09:56:37 +02: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-while-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keywords-followed-by-double-colon.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Extend is_case_difference to handle digit-letter confusables 2025-07-31 13:55:59 +08:00
label-after-block-like.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lifetime-in-pattern.stderr Add FnContext in parser for diagnostic 2025-08-14 21:31:47 +08: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lifetime_starts_expressions.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
match-arm-comma-typo-issue-140991.fixed Fix the issue of typo of comma in arm parsing 2025-05-16 12:40:04 +02:00
match-arm-comma-typo-issue-140991.rs Fix the issue of typo of comma in arm parsing 2025-05-16 12:40:04 +02:00
match-arm-comma-typo-issue-140991.stderr Fix the issue of typo of comma in arm parsing 2025-05-16 12:40:04 +02: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 Fix "missing match arm body" suggestion involving ! 2025-02-22 18:30:14 +00:00
match-arm-without-braces.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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
mismatched-delim-brace-empty-block.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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-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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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
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
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multibyte-char-use-seperator-issue-80134.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multiline-comment-line-tracking.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multiline-comment-line-tracking.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
multiline-comments-basic.rs cleaned up some tests 2025-06-30 11:23:01 +05:00
multitrait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multitrait.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
mut-patterns.rs compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03:00
mut-patterns.stderr compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03:00
nested-bad-turbofish.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nested-bad-turbofish.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
nested-block-comments.rs cleaned up some tests 2025-07-01 15:29:29 +05:00
nested-missing-closing-angle-bracket.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
new-unicode-escapes-3.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
new-unicode-escapes-4.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-binary-float-literal.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-hex-float-literal.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-unsafe-self.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-unsafe-self.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
not-a-pred.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
not-a-pred.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
nt-parsing-has-recovery.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nt-parsing-has-recovery.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
old-suffixes-are-really-forbidden.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
omitted-arg-in-item-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
omitted-arg-in-item-fn.stderr Add FnContext in parser for diagnostic 2025-08-14 21:31:47 +08:00
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
or-in-let-chain.edition2021.stderr resolved conflict 2025-04-25 17:02:59 +05:00
or-in-let-chain.edition2024.stderr resolved conflict 2025-04-25 17:02:59 +05:00
or-in-let-chain.rs resolved conflict 2025-04-25 17:02:59 +05:00
paamayim-nekudotayim.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
parse-error-correct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
parse-error-correct.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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
partial-eq-trait-bound-5572.rs Add test batch 1 2025-08-27 00:23:26 -04: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-lt-bracket-2.stderr Add FnContext in parser for diagnostic 2025-08-14 21:31:47 +08: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 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 Merge typeck loop with static/const item eval loop 2025-05-09 15:31:27 +00: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Update tests for new TRPL chapter order 2024-11-23 08:57:25 -07:00
pat-ref-enum.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pat-tuple-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
range-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
range-3.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
range-4.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Add missing 2015 edition directives 2025-06-03 11:45:58 +02:00
recover-hrtb-before-dyn-impl-kw.stderr Add missing 2015 edition directives 2025-06-03 11:45:58 +02:00
recovered-struct-variant.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recovered-struct-variant.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
reference-whitespace-parsing.rs cleaned up some tests 2025-06-28 17:04:16 +05:00
regions-out-of-scope-slice.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 address review comments 2025-08-22 13:16:44 +08:00
require-parens-for-chained-comparison.stderr address review comments 2025-08-22 13:16:44 +08:00
self-in-function-arg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-param-semantic-fail.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-param-syntactic-pass.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
semi-in-let-chain.rs Remove let_chains feature gate from even more tests 2025-04-18 15:57:29 +02:00
semi-in-let-chain.stderr Remove let_chains feature gate from even more tests 2025-04-18 15:57:29 +02:00
several-carriage-returns-in-doc-comment.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
stmt_expr_attrs_placement.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
stripped-nested-outline-mod-pass.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
struct-field-numeric-shorthand.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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-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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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-self-in-bare-function.rs Add test suggest-self-in-bare-function 2025-08-14 21:31:36 +08:00
suggest-self-in-bare-function.stderr Add FnContext in parser for diagnostic 2025-08-14 21:31:47 +08:00
suggest-semi-in-array.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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
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
syntactic-trailing-commas.rs cleaned up some tests 2025-07-13 00:03:31 +05:00
ternary_operator.rs Improve ternary operator recovery 2025-05-14 13:32:59 +01:00
ternary_operator.stderr Improve ternary operator recovery 2025-05-14 13:32:59 +01:00
trailing-carriage-return-in-string.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Add missing dyn keywords to tests that do not test for them Part 2 2025-06-03 13:28:38 +02: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 Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
trait-bounds-not-on-impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
trait-object-bad-parens.rs Improve diagnostic for E0178 (bad + in type) 2025-04-15 10:08:49 +02:00
trait-object-bad-parens.stderr Improve diagnostic for E0178 (bad + in type) 2025-04-15 10:08:49 +02:00
trait-object-delimiters.rs Remove support for dyn* 2025-07-01 19:00:21 +00:00
trait-object-delimiters.stderr Remove support for dyn* 2025-07-01 19:00:21 +00:00
trait-object-lifetime-parens.e2015.stderr Clean up parsers related to generic bounds 2025-08-16 16:15:58 +02:00
trait-object-lifetime-parens.e2021.stderr Clean up parsers related to generic bounds 2025-08-16 16:15:58 +02:00
trait-object-lifetime-parens.rs Clean up parsers related to generic bounds 2025-08-16 16:15:58 +02:00
trait-object-polytrait-priority.rs Improve diagnostic for E0178 (bad + in type) 2025-04-15 10:08:49 +02:00
trait-object-polytrait-priority.stderr Improve diagnostic for E0178 (bad + in type) 2025-04-15 10:08:49 +02:00
trait-object-trait-parens.rs Reword diagnostics about relaxed bounds in invalid contexts 2025-07-18 12:13:19 +02:00
trait-object-trait-parens.stderr bless tests with new lint messages 2025-08-19 21:27:10 +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 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
ty-path-followed-by-single-colon.rs Revert overzealous parse recovery for single colons 2025-04-24 02:57:10 +02: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
type-parameters-in-field-exprs.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Recover upon encountering mistyped Const in const param def 2023-05-28 16:55:21 +08:00
typod-const-in-const-param-def.stderr Extend is_case_difference to handle digit-letter confusables 2025-07-31 13:55:59 +08:00
ufcs-return-unused-parens.fixed cleaned up some tests 2025-07-05 03:46:08 +05:00
ufcs-return-unused-parens.rs cleaned up some tests 2025-07-05 03:46:08 +05:00
ufcs-return-unused-parens.stderr cleaned up some tests 2025-07-05 03:46:08 +05: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Add ignore-backends annotations in failing GCC backend ui tests 2025-07-23 13:48:04 +02:00
unclosed-delimiter-in-dep.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unclosed_delim_mod.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unclosed_delim_mod.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
underscore-suffix-for-float.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
underscore-suffix-for-float.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
underscore-suffix-for-string.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
underscore-suffix-for-string.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
underscore_item_not_const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
underscore_item_not_const.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Add double-equals homoglyph 2023-01-19 02:25:55 +00:00
unicode-chars.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
unicode-control-codepoints.rs Report text_direction_codepoint_in_literal when parsing 2025-05-27 15:57:41 +00:00
unicode-control-codepoints.stderr Report text_direction_codepoint_in_literal when parsing 2025-05-27 15:57:41 +00:00
unicode-escape-sequences.rs cleaned up some tests 2025-06-30 11:50:19 +05:00
unicode-multibyte-chars-no-ice.rs cleaned up some tests 2025-06-30 11:23:01 +05:00
unicode-quote-chars.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unmatched-langle-1.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
unmatched-langle-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unmatched-langle-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unsafe-mod.stderr Mention the syntax for use on mod foo; if foo doesn't exist 2023-10-21 15:56:01 +00:00
unsized.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unsized.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unsized2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unsized2.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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
use-as-where-use-ends-with-mod-sep.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
use-colon-as-mod-sep.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 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 UI tests: migrate remaining compile time error-patterns to line annotations 2025-04-13 21:48:53 +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 UI tests: migrate remaining compile time error-patterns to line annotations 2025-04-13 21:48:53 +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 stabilize extended_varargs_abi_support 2025-09-02 08:48:12 +02:00
variadic-ffi-semantic-restrictions.stderr stabilize extended_varargs_abi_support 2025-09-02 08:48:12 +02:00
variadic-ffi-syntactic-pass.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
virtual-structs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
virtual-structs.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
where-clauses-no-bounds-or-predicates.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
where-clauses-no-bounds-or-predicates.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
where_with_bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
where_with_bound.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
while-if-let-without-body.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wrong-escape-of-curly-braces.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00