rust/tests/ui/feature-gates
Jacob Pratt 1c84c063f0
Rollup merge of #138128 - compiler-errors:precise-capturing-in-traits, r=oli-obk,traviscross
Stabilize `#![feature(precise_capturing_in_traits)]`

# Precise capturing (`+ use<>` bounds) in traits - Stabilization Report

Fixes https://github.com/rust-lang/rust/issues/130044.

## Stabilization summary

This report proposes the stabilization of `use<>` precise capturing bounds in return-position impl traits in traits (RPITITs). This completes a missing part of [RFC 3617 "Precise capturing"].

Precise capturing in traits was not ready for stabilization when the first subset was proposed for stabilization (namely, RPITs on free and inherent functions - https://github.com/rust-lang/rust/pull/127672) since this feature has a slightly different implementation, and it hadn't yet been implemented or tested at the time. It is now complete, and the type system implications of this stabilization are detailed below.

## Motivation

Currently, RPITITs capture all in-scope lifetimes, according to the decision made in the ["lifetime capture rules 2024" RFC](https://rust-lang.github.io/rfcs/3498-lifetime-capture-rules-2024.html#return-position-impl-trait-in-trait-rpitit). However, traits can be designed such that some lifetimes in arguments may not want to be captured. There is currently no way to express this.

## Major design decisions since the RFC

No major decisions were made. This is simply an extension to the RFC that was understood as a follow-up from the original stabilization.

## What is stabilized?

Users may write `+ use<'a, T>` bounds on their RPITITs. This conceptually modifies the desugaring of the RPITIT to omit the lifetimes that we would copy over from the method. For example,

```rust
trait Foo {
    fn method<'a>(&'a self) -> impl Sized;

    // ... desugars to something like:
    type RPITIT_1<'a>: Sized;
    fn method_desugared<'a>(&'a self) -> Self::RPITIT_1<'a>;

    // ... whereas with precise capturing ...
    fn precise<'a>(&'a self) -> impl Sized + use<Self>;

    // ... desugars to something like:
    type RPITIT_2: Sized;
    fn precise_desugared<'a>(&'a self) -> Self::RPITIT_2;
}
```

And thus the GAT doesn't name `'a`. In the compiler internals, it's not implemented exactly like this, but not in a way that users should expect to be able to observe.

#### Limitations on what generics must be captured

Currently, we require that all generics from the trait (including the `Self`) type are captured. This is because the generics from the trait are required to be *invariant* in order to do associated type normalization.

And like regular precise capturing bounds, all type and const generics in scope must be captured.

Thus, only the in-scope method lifetimes may be relaxed with this syntax today.

## What isn't stabilized? (a.k.a. potential future work)

See section above. Relaxing the requirement to capture all type and const generics in scope may be relaxed when https://github.com/rust-lang/rust/issues/130043 is implemented, however it currently interacts with some underexplored corners of the type system (e.g. unconstrained type bivariance) so I don't expect it to come soon after.

## Implementation summary

This functionality is implemented analogously to the way that *opaque type* precise capturing works.

Namely, we currently use *variance* to model the capturedness of lifetimes. However, since RPITITs are anonymous GATs instead of opaque types, we instead modify the type relation of GATs to consider variances for RPITITs (along with opaque types which it has done since https://github.com/rust-lang/rust/pull/103491).

30f168ef81/compiler/rustc_middle/src/ty/util.rs (L954-L976)

30f168ef81/compiler/rustc_type_ir/src/relate.rs (L240-L244)

Using variance to model capturedness is an implementation detail, and in the future it would be desirable if opaques and RPITITs simply did not include the uncaptured lifetimes in their generics. This can be changed in a forwards-compatible way, and almost certainly would not be observable by users (at least not negatively, since it may indeed fix some bugs along the way).

## Tests

* Test that the lifetime isn't actually captured: `tests/ui/impl-trait/precise-capturing/rpitit.rs` and `tests/ui/impl-trait/precise-capturing/rpitit-outlives.rs` and `tests/ui/impl-trait/precise-capturing/rpitit-outlives-2.rs`.
* Technical test for variance computation: `tests/ui/impl-trait/in-trait/variance.rs`.
* Test that you must capture all trait generics: `tests/ui/impl-trait/precise-capturing/forgot-to-capture-type.rs`.
* Test that you cannot capture more than what the trait specifies: `tests/ui/impl-trait/precise-capturing/rpitit-captures-more-method-lifetimes.rs` and `tests/ui/impl-trait/precise-capturing/rpitit-impl-captures-too-much.rs`.
* Undercapturing (refinement) lint: `tests/ui/impl-trait/in-trait/refine-captures.rs`.

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

I don't believe that this exposes any new unstable features indirectly.

## Remaining bugs and open issues

Not aware of any open issues or bugs.

## Tooling support

Rustfmt:  Supports formatting `+ use<>` everywhere.

Clippy:  No support needed, unless specific clippy lints are impl'd to care for precise capturing itself.

Rustdoc:  Rendering `+ use<>` precise capturing bounds is supported.

Rust-analyzer:  Parser support, and then lifetime support isn't needed https://github.com/rust-lang/rust/pull/138128#issuecomment-2705292494 (previous: ~~ There is parser support, but I am unsure of rust-analyzer's level of support for RPITITs in general.~~)

## History

Tracking issue: https://github.com/rust-lang/rust/issues/130044

* https://github.com/rust-lang/rust/pull/131033
* https://github.com/rust-lang/rust/pull/132795
* https://github.com/rust-lang/rust/pull/136554
2025-03-25 20:34:45 -04:00
..
auxiliary tidy check to find misc files in ui tests, and clean up the results 2023-05-09 20:35:39 -04:00
allow-features-empty.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
allow-features-empty.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
allow-features.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
allow-features.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bench.rs use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
bench.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
doc-rust-logo.rs rustdoc: remove rust logo from non-Rust crates 2023-10-08 20:17:53 -07:00
doc-rust-logo.stderr Bless tests 2024-01-13 12:46:58 -05:00
duplicate-features.rs terminology: #[feature] *enables* a feature (instead of "declaring" or "activating" it) 2024-10-22 07:37:54 +01:00
duplicate-features.stderr terminology: #[feature] *enables* a feature (instead of "declaring" or "activating" it) 2024-10-22 07:37:54 +01:00
env-flag.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
env-flag.stderr Rename --env option flag to --env-set 2024-01-12 11:02:57 +01:00
feature-gate-abi-avr-interrupt.rs tests: use minicore more 2025-02-24 09:26:54 +00:00
feature-gate-abi-avr-interrupt.stderr tests: use minicore more 2025-02-24 09:26:54 +00:00
feature-gate-abi-msp430-interrupt.rs tests: use minicore more 2025-02-24 09:26:54 +00:00
feature-gate-abi-msp430-interrupt.stderr tests: use minicore more 2025-02-24 09:26:54 +00:00
feature-gate-abi-riscv-interrupt.rs tests: use minicore more 2025-02-24 09:26:54 +00:00
feature-gate-abi-riscv-interrupt.stderr tests: use minicore more 2025-02-24 09:26:54 +00:00
feature-gate-abi-x86-interrupt.rs tests: use minicore more 2025-02-24 09:26:54 +00:00
feature-gate-abi-x86-interrupt.stderr tests: use minicore more 2025-02-24 09:26:54 +00:00
feature-gate-abi.rs tests: use minicore more 2025-02-24 09:26:54 +00:00
feature-gate-abi.stderr tests: use minicore more 2025-02-24 09:26:54 +00:00
feature-gate-abi_gpu_kernel.rs tests: use minicore more 2025-02-24 09:26:54 +00:00
feature-gate-abi_gpu_kernel.stderr Bless UI tests 2025-03-03 09:03:04 +01:00
feature-gate-abi_ptx.rs tests: use minicore more 2025-02-24 09:26:54 +00:00
feature-gate-abi_ptx.stderr tests: use minicore more 2025-02-24 09:26:54 +00:00
feature-gate-abi_unadjusted.rs tests: error strings for ABI stability now match 2025-02-09 20:45:47 -08:00
feature-gate-abi_unadjusted.stderr tests: error strings for ABI stability now match 2025-02-09 20:45:47 -08:00
feature-gate-adt_const_params.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-adt_const_params.stderr fix(hir_analysis/wfcheck): don't leak {type error} 2024-09-29 23:40:43 -05:00
feature-gate-alloc-error-handler.rs use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-alloc-error-handler.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-allocator_internals.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-allocator_internals.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-allow-internal-unsafe-nested-macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-allow-internal-unsafe-nested-macro.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-allow-internal-unstable-nested-macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-allow-internal-unstable-nested-macro.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-allow-internal-unstable-struct.rs Fix test output expectations 2025-02-24 14:31:19 +01:00
feature-gate-allow-internal-unstable-struct.stderr Fix test output expectations 2025-02-24 14:31:19 +01:00
feature-gate-allow-internal-unstable.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-allow-internal-unstable.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-arbitrary-self-types-pointers.default.stderr Arbitrary self types v2: better feature gate test 2024-12-13 16:45:43 +00:00
feature-gate-arbitrary-self-types-pointers.feature.stderr Arbitrary self types v2: better feature gate test 2024-12-13 16:45:43 +00:00
feature-gate-arbitrary-self-types-pointers.rs Arbitrary self types v2: better feature gate test 2024-12-13 16:45:43 +00:00
feature-gate-arbitrary-self-types.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-arbitrary-self-types.stderr Arbitrary self types v2: use Receiver trait 2024-12-11 11:59:12 +00:00
feature-gate-arbitrary_self_types-raw-pointer.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-arbitrary_self_types-raw-pointer.stderr Arbitrary self types v2: use Receiver trait 2024-12-11 11:59:12 +00:00
feature-gate-asm_experimental_arch.rs tests: use minicore more 2025-02-24 09:26:54 +00:00
feature-gate-asm_experimental_arch.stderr tests: use minicore more 2025-02-24 09:26:54 +00:00
feature-gate-asm_experimental_reg.rs tests: use minicore more 2025-02-24 09:26:54 +00:00
feature-gate-asm_experimental_reg.stderr tests: use minicore more 2025-02-24 09:26:54 +00:00
feature-gate-asm_goto_with_outputs.rs Stabilize asm_goto 2025-03-17 11:12:10 +00:00
feature-gate-asm_goto_with_outputs.stderr Stabilize asm_goto 2025-03-17 11:12:10 +00:00
feature-gate-asm_unwind.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-asm_unwind.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-assoc-type-defaults.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-assoc-type-defaults.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-associated_const_equality.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-associated_const_equality.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-async-fn-in-dyn-trait.rs Refactor dyn-compatibility error and suggestions 2025-01-22 09:20:57 -08:00
feature-gate-async-fn-in-dyn-trait.stderr Compiler: Finalize dyn compatibility renaming 2025-01-26 21:20:31 +01:00
feature-gate-async-trait-bounds.rs Stabilize async closures 2024-12-13 00:04:56 +00:00
feature-gate-async-trait-bounds.stderr Stabilize async closures 2024-12-13 00:04:56 +00:00
feature-gate-auto-traits.rs Begin to implement type system layer of unsafe binders 2024-12-22 21:57:57 +00:00
feature-gate-auto-traits.stderr Begin to implement type system layer of unsafe binders 2024-12-22 21:57:57 +00:00
feature-gate-autodiff-use.has_support.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-autodiff-use.no_support.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-autodiff-use.rs use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-autodiff.has_support.stderr Add pretty, ui, and feature-gate tests for the enzyme/autodiff frontend 2024-10-11 20:38:43 +02:00
feature-gate-autodiff.no_support.stderr Add pretty, ui, and feature-gate tests for the enzyme/autodiff frontend 2024-10-11 20:38:43 +02:00
feature-gate-autodiff.rs Add pretty, ui, and feature-gate tests for the enzyme/autodiff frontend 2024-10-11 20:38:43 +02:00
feature-gate-box_patterns.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-box_patterns.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-builtin_syntax.rs Add feature gate 2023-05-05 21:44:48 +02:00
feature-gate-builtin_syntax.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-c_variadic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-c_variadic.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-cfg-boolean-literals.rs Feature gate boolean lit support in cfg predicates 2024-10-04 09:09:20 +02:00
feature-gate-cfg-boolean-literals.stderr Feature gate boolean lit support in cfg predicates 2024-10-04 09:09:20 +02:00
feature-gate-cfg-contract-checks.rs Contracts core intrinsics. 2025-02-03 12:53:57 -08:00
feature-gate-cfg-contract-checks.stderr Rename rustc_contract to contract 2025-02-03 13:55:15 -08:00
feature-gate-cfg-emscripten-wasm-eh.rs Add support for wasm exception handling to Emscripten target 2025-01-06 10:29:54 +01:00
feature-gate-cfg-emscripten-wasm-eh.stderr Add support for wasm exception handling to Emscripten target 2025-01-06 10:29:54 +01:00
feature-gate-cfg-relocation-model.rs Add the relocation_model to the cfg 2023-08-18 19:57:28 +02:00
feature-gate-cfg-relocation-model.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-cfg-sanitizer_cfi.rs Add missing CFI sanitizer cfgs feature gate 2023-12-23 00:52:42 +01:00
feature-gate-cfg-sanitizer_cfi.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-cfg-target-compact.rs tests/ui: prepare some tests for --check-cfg by default 2024-05-04 11:30:38 +02:00
feature-gate-cfg-target-compact.stderr tests/ui: prepare some tests for --check-cfg by default 2024-05-04 11:30:38 +02:00
feature-gate-cfg-target-has-atomic-equal-alignment.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-cfg-target-has-atomic-equal-alignment.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-cfg-target-has-atomic.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-cfg-target-has-atomic.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-cfg-target-thread-local.rs Enable more tests on Windows 2025-02-03 10:39:32 -05:00
feature-gate-cfg-target-thread-local.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
feature-gate-cfg-version.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-cfg-version.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-cfg_overflow_checks.rs Add support for cfg(overflow_checks) 2023-05-11 18:06:31 +04:00
feature-gate-cfg_overflow_checks.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-cfg_sanitize.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-cfg_sanitize.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-cfg_ub_checks.rs Put checks that detect UB under their own flag below debug_assertions 2024-04-06 11:21:47 -04:00
feature-gate-cfg_ub_checks.stderr Put checks that detect UB under their own flag below debug_assertions 2024-04-06 11:21:47 -04:00
feature-gate-cfi_encoding.rs Add cross-language LLVM CFI support to the Rust compiler 2023-05-03 22:41:29 +00:00
feature-gate-cfi_encoding.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-closure_lifetime_binder.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-closure_lifetime_binder.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-closure_track_caller.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
feature-gate-closure_track_caller.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
feature-gate-compiler-builtins.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-compiler-builtins.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-concat_bytes.rs use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-concat_bytes.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-concat_idents.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-concat_idents.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-concat_idents2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-concat_idents2.stderr Do not suggest using -Zmacro-backtrace for builtin macros 2025-03-14 19:50:03 +00:00
feature-gate-concat_idents3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-concat_idents3.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-const-indexing.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-contracts.rs Stop using span hack for contracts feature gating 2025-02-10 19:51:26 +00:00
feature-gate-contracts.stderr Stop using span hack for contracts feature gating 2025-02-10 19:51:26 +00:00
feature-gate-coroutines.e2024.stderr Add the yield_expr feature 2025-03-06 11:33:24 -08:00
feature-gate-coroutines.none.stderr Add the yield_expr feature 2025-03-06 11:33:24 -08:00
feature-gate-coroutines.rs Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
feature-gate-coverage-attribute.rs Revert "Auto merge of #130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser" 2024-12-23 12:30:37 +11:00
feature-gate-coverage-attribute.stderr Revert "Auto merge of #130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser" 2024-12-23 12:30:37 +11:00
feature-gate-custom_attribute.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-custom_attribute.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-custom_attribute2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-custom_attribute2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-custom_mir.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
feature-gate-custom_mir.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-custom_test_frameworks.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-custom_test_frameworks.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-decl_macro.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-decl_macro.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-default-field-values.rs review comments: rewordings 2024-12-09 21:55:13 +00:00
feature-gate-default-field-values.stderr Provide suggestion for #![feature(default_field_values)] 2025-01-18 21:15:42 +00:00
feature-gate-deprecated_safe.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-deprecated_safe.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-deref_patterns.rs Add barest-bones deref patterns 2024-03-20 22:30:27 +01:00
feature-gate-deref_patterns.stderr Add barest-bones deref patterns 2024-03-20 22:30:27 +01:00
feature-gate-derive-coerce-pointee.rs use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-derive-coerce-pointee.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-dispatch-from-dyn-cell.rs Replace item names containing an error code with something more meaningful 2024-04-30 22:27:19 +02:00
feature-gate-dispatch-from-dyn-cell.stderr Arbitrary self types v2: adjust diagnostic. 2024-12-13 15:40:37 +00:00
feature-gate-dispatch-from-dyn-missing-impl.rs Refactor dyn-compatibility error and suggestions 2025-01-22 09:20:57 -08:00
feature-gate-dispatch-from-dyn-missing-impl.stderr Compiler: Finalize dyn compatibility renaming 2025-01-26 21:20:31 +01:00
feature-gate-doc_cfg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-doc_cfg.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-doc_masked.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-doc_masked.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-doc_notable_trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-doc_notable_trait.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-ergonomic-clones.rs Add slight variation to feature-gate ergonomic clones test 2025-03-06 22:36:07 -03:00
feature-gate-ergonomic-clones.stderr Add slight variation to feature-gate ergonomic clones test 2025-03-06 22:36:07 -03:00
feature-gate-exhaustive-patterns.rs Update tests 2024-08-10 12:07:17 +02:00
feature-gate-exhaustive-patterns.stderr Update tests for new TRPL chapter order 2024-11-23 08:57:25 -07:00
feature-gate-explicit_tail_calls.rs Syntatically accept become expressions 2023-06-19 12:54:34 +00:00
feature-gate-explicit_tail_calls.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-extern_absolute_paths.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-extern_absolute_paths.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
feature-gate-extern_system_varargs.rs Split out the extern_system_varargs feature 2025-02-12 19:57:45 -08:00
feature-gate-extern_system_varargs.stderr Split out the extern_system_varargs feature 2025-02-12 19:57:45 -08:00
feature-gate-extern_types.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-extern_types.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-f16.e2015.stderr Fix f16 and f128 feature gates in editions other than 2015 2024-04-03 16:03:22 -04:00
feature-gate-f16.e2018.stderr Fix f16 and f128 feature gates in editions other than 2015 2024-04-03 16:03:22 -04:00
feature-gate-f16.rs Update f16 and f128 tests to run on both 2015 and 2018 editions 2024-04-03 16:03:22 -04:00
feature-gate-f128.e2015.stderr Fix f16 and f128 feature gates in editions other than 2015 2024-04-03 16:03:22 -04:00
feature-gate-f128.e2018.stderr Fix f16 and f128 feature gates in editions other than 2015 2024-04-03 16:03:22 -04:00
feature-gate-f128.rs Update f16 and f128 tests to run on both 2015 and 2018 editions 2024-04-03 16:03:22 -04:00
feature-gate-feature-gate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-feature-gate.stderr Undeprecate and use lint unstable_features 2023-12-20 18:16:28 +01:00
feature-gate-ffi_const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-ffi_const.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-ffi_pure.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-ffi_pure.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-fmt-debug.rs fmt-debug option 2024-08-28 23:32:40 +01:00
feature-gate-fmt-debug.stderr fmt-debug option 2024-08-28 23:32:40 +01:00
feature-gate-fn_align.rs Introduce new-style attribute parsers for several attributes 2025-02-24 14:31:17 +01:00
feature-gate-fn_align.stderr Introduce new-style attribute parsers for several attributes 2025-02-24 14:31:17 +01:00
feature-gate-fn_delegation.rs Delegation implementation: step 1 2024-01-12 14:11:16 +03:00
feature-gate-fn_delegation.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-format_args_nl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-format_args_nl.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-freeze-impls.rs Forbid implementing Freeze even if the trait is stabilized 2024-02-29 14:10:29 +00:00
feature-gate-freeze-impls.stderr Forbid implementing Freeze even if the trait is stabilized 2024-02-29 14:10:29 +00:00
feature-gate-fundamental.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-fundamental.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-gen_blocks.e2024.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-gen_blocks.none.stderr Actually parse async gen blocks correctly 2023-12-12 20:13:37 +00:00
feature-gate-gen_blocks.rs Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
feature-gate-generic-const-parameter-types.normal.stderr Introduce feature(generic_const_parameter_types) 2025-02-28 20:43:15 +00:00
feature-gate-generic-const-parameter-types.rs Introduce feature(generic_const_parameter_types) 2025-02-28 20:43:15 +00:00
feature-gate-generic_arg_infer.normal.stderr Bless and add tests 2025-01-23 06:01:36 +00:00
feature-gate-generic_arg_infer.rs Bless and add tests 2025-01-23 06:01:36 +00:00
feature-gate-global-registration.rs add todo test for feature gate 2024-05-20 09:18:49 +02:00
feature-gate-global-registration.stderr add todo test for feature gate 2024-05-20 09:18:49 +02:00
feature-gate-guard-patterns.rs allow irrefutable let patterns in feature gate test 2024-12-31 17:36:49 -08:00
feature-gate-guard-patterns.stderr allow irrefutable let patterns in feature gate test 2024-12-31 17:36:49 -08:00
feature-gate-impl-trait-in-bindings.rs (Re-)Implement impl_trait_in_bindings 2024-12-14 03:21:24 +00:00
feature-gate-impl-trait-in-bindings.stderr (Re-)Implement impl_trait_in_bindings 2024-12-14 03:21:24 +00:00
feature-gate-impl_trait_in_assoc_type.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
feature-gate-impl_trait_in_assoc_type.stderr Bless ui tests. 2024-10-04 23:38:41 +00:00
feature-gate-impl_trait_in_fn_trait_return.rs Split note, fix const/static impl trait error 2024-01-07 18:00:03 +00:00
feature-gate-impl_trait_in_fn_trait_return.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-import-trait-associated-functions.rs Implement use associated items of traits 2025-01-16 16:34:05 +08:00
feature-gate-import-trait-associated-functions.stderr Implement use associated items of traits 2025-01-16 16:34:05 +08:00
feature-gate-inherent_associated_types.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-inherent_associated_types.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-inline_const_pat.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-inline_const_pat.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-intrinsics.rs tests: error strings for ABI stability now match 2025-02-09 20:45:47 -08:00
feature-gate-intrinsics.stderr tests: error strings for ABI stability now match 2025-02-09 20:45:47 -08:00
feature-gate-keylocker_x86.rs Add kl and widekl target features, and the feature gate 2025-01-06 11:16:24 +05:30
feature-gate-keylocker_x86.stderr Add kl and widekl target features, and the feature gate 2025-01-06 11:16:24 +05:30
feature-gate-lang-items.rs consistency rename: language item -> lang item 2024-04-17 13:00:43 +02:00
feature-gate-lang-items.stderr consistency rename: language item -> lang item 2024-04-17 13:00:43 +02:00
feature-gate-large-assignments.rs Add the missing quotation mark in comment 2024-11-18 20:18:22 +08:00
feature-gate-large-assignments.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-lifetime-capture-rules-2024.rs Add lifetime_capture_rules_2024 2023-12-05 19:53:59 +00:00
feature-gate-lifetime-capture-rules-2024.stderr Bless test fallout 2024-08-17 12:43:25 -04:00
feature-gate-link-arg-attribute.in_attr.stderr Modify some feature-gate tests to also check command-line handling 2024-11-18 14:13:10 +11:00
feature-gate-link-arg-attribute.in_flag.stderr Modify some feature-gate tests to also check command-line handling 2024-11-18 14:13:10 +11:00
feature-gate-link-arg-attribute.rs compiletest: Support matching on diagnostics without a span 2025-03-25 17:33:09 +03:00
feature-gate-link_cfg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-link_cfg.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-link_llvm_intrinsics.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-link_llvm_intrinsics.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-linkage.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-linkage.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-log_syntax.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-log_syntax.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-log_syntax.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-log_syntax2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-log_syntax2.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-log_syntax2.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-macro-metavar-expr-concat.rs Add a new concat metavar expr 2024-06-13 22:12:26 -03:00
feature-gate-macro-metavar-expr-concat.stderr Add a new concat metavar expr 2024-06-13 22:12:26 -03:00
feature-gate-marker_trait_attr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-marker_trait_attr.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-may-dangle.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-may-dangle.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-min-generic-const-args.rs mgca: Lower all const paths as ConstArgKind::Path 2025-03-04 10:11:13 -05:00
feature-gate-min-generic-const-args.stderr mgca: Lower all const paths as ConstArgKind::Path 2025-03-04 10:11:13 -05:00
feature-gate-min_const_fn.rs E0379: Make diagnostic more precise 2024-01-02 13:49:47 +01:00
feature-gate-min_const_fn.stderr E0379: Provide suggestions 2024-01-02 13:49:48 +01:00
feature-gate-more-maybe-bounds.rs Reject impl Trait bounds in various places where we unconditionally warned since 1.0 2025-02-11 09:19:37 +00:00
feature-gate-more-maybe-bounds.stderr Reject impl Trait bounds in various places where we unconditionally warned since 1.0 2025-02-11 09:19:37 +00:00
feature-gate-more-qualified-paths.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-more-qualified-paths.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-multiple_supertrait_upcastable.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-multiple_supertrait_upcastable.stderr Point at lint name instead of whole attr for gated lints 2024-12-18 19:27:44 +00:00
feature-gate-mut-ref.rs Feature gate 2024-03-27 11:20:28 -04:00
feature-gate-mut-ref.stderr Feature gate 2024-03-27 11:20:28 -04:00
feature-gate-naked_functions.rs use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-naked_functions.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-naked_functions_target_feature.rs add naked_functions_target_feature unstable feature 2025-03-16 22:07:43 +01:00
feature-gate-naked_functions_target_feature.stderr add naked_functions_target_feature unstable feature 2025-03-16 22:07:43 +01:00
feature-gate-native_link_modifiers_as_needed.in_attr.stderr Modify some feature-gate tests to also check command-line handling 2024-11-18 14:13:10 +11:00
feature-gate-native_link_modifiers_as_needed.in_flag.stderr Overhaul the -l option parser (for linking to native libs) 2024-11-18 15:55:12 +11:00
feature-gate-native_link_modifiers_as_needed.rs compiletest: Support matching on diagnostics without a span 2025-03-25 17:33:09 +03:00
feature-gate-needs-allocator.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-needs-allocator.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-negate-unsigned.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-negate-unsigned.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
feature-gate-negative_bounds.rs Implement negative bounds 2023-05-02 22:36:24 +00:00
feature-gate-negative_bounds.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
feature-gate-never_patterns.rs Check bindings around never patterns 2024-01-09 17:00:24 +01:00
feature-gate-never_patterns.stderr Fix "missing match arm body" suggestion involving ! 2025-02-22 18:30:14 +00:00
feature-gate-never_type.rs Update never_type feature gate ui test 2024-02-01 20:01:05 +01:00
feature-gate-never_type.stderr Update never_type feature gate ui test 2024-02-01 20:01:05 +01:00
feature-gate-new_range.rs implement unstable new_range feature 2025-01-30 21:33:11 -07:00
feature-gate-new_range.stderr implement unstable new_range feature 2025-01-30 21:33:11 -07:00
feature-gate-no_core.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-no_core.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-no_sanitize.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-no_sanitize.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-non_exhaustive_omitted_patterns_lint.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-non_exhaustive_omitted_patterns_lint.stderr Point at lint name instead of whole attr for gated lints 2024-12-18 19:27:44 +00:00
feature-gate-non_lifetime_binders.rs Add feature gate for non_lifetime_binders 2023-02-16 03:39:58 +00:00
feature-gate-non_lifetime_binders.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-offset-of-enum.rs Stabilize offset_of_nested 2024-07-29 17:50:12 +01:00
feature-gate-offset-of-enum.stderr Stabilize offset_of_nested 2024-07-29 17:50:12 +01:00
feature-gate-offset-of-slice.rs offset_of: allow (unstably) taking the offset of slice tail fields 2024-06-08 18:17:55 +02:00
feature-gate-offset-of-slice.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
feature-gate-omit-gdb-pretty-printer-section.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-omit-gdb-pretty-printer-section.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-optimize_attribute.rs Implement optimize(none) attribute 2025-01-23 17:19:53 +00:00
feature-gate-optimize_attribute.stderr Implement optimize(none) attribute 2025-01-23 17:19:53 +00:00
feature-gate-overlapping_marker_traits.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-overlapping_marker_traits.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
feature-gate-patchable-function-entry.rs Updated code for changes to RFC, added additional error handling, added 2024-06-25 19:00:02 +02:00
feature-gate-patchable-function-entry.stderr Updated code for changes to RFC, added additional error handling, added 2024-06-25 19:00:02 +02:00
feature-gate-pattern-complexity-limit.rs Rename pattern_complexity attr as pattern_complexity_limit. 2025-02-17 09:30:40 +11:00
feature-gate-pattern-complexity-limit.stderr Rename pattern_complexity attr as pattern_complexity_limit. 2025-02-17 09:30:40 +11:00
feature-gate-pin_ergonomics.rs Implement &pin const self and &pin mut self sugars 2025-03-05 22:37:53 +08:00
feature-gate-pin_ergonomics.stderr Implement &pin const self and &pin mut self sugars 2025-03-05 22:37:53 +08:00
feature-gate-postfix_match.rs Add postfix-match experimental feature 2024-03-05 23:34:45 -05:00
feature-gate-postfix_match.stderr Add postfix-match experimental feature 2024-03-05 23:34:45 -05:00
feature-gate-precise_pointer_size_matching.rs Match usize/isize exhaustively 2023-10-27 19:56:12 +02:00
feature-gate-precise_pointer_size_matching.stderr Remove the precise_pointer_size_matching feature gate 2023-12-04 11:56:21 +01:00
feature-gate-prelude_import.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-prelude_import.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-profiler-runtime.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-profiler-runtime.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-public_private_dependencies.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-raw-dylib-elf.rs Support raw-dylib link kind on ELF 2025-02-26 19:09:51 +01:00
feature-gate-raw-dylib-elf.stderr Support raw-dylib link kind on ELF 2025-02-26 19:09:51 +01:00
feature-gate-register_tool.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-register_tool.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-repr-simd.rs warn about broken simd not only on structs but also enums and unions when we didn't opt in to it 2025-01-07 21:36:37 +01:00
feature-gate-repr-simd.stderr warn about broken simd not only on structs but also enums and unions when we didn't opt in to it 2025-01-07 21:36:37 +01:00
feature-gate-repr128.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-repr128.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-return_type_notation.cfg.stderr Change RTN to use .. again 2024-06-28 14:20:43 -04:00
feature-gate-return_type_notation.no.stderr Change RTN to use .. again 2024-06-28 14:20:43 -04:00
feature-gate-return_type_notation.rs Change RTN to use .. again 2024-06-28 14:20:43 -04:00
feature-gate-rust_cold_cc.rs tests: error strings for ABI stability now match 2025-02-09 20:45:47 -08:00
feature-gate-rust_cold_cc.stderr tests: error strings for ABI stability now match 2025-02-09 20:45:47 -08:00
feature-gate-rustc-allow-const-fn-unstable.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-rustc-allow-const-fn-unstable.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-rustc-attrs-1.rs fix rustc_nonnull_optimization_guaranteed docs 2024-09-22 10:00:24 +02:00
feature-gate-rustc-attrs-1.stderr fix rustc_nonnull_optimization_guaranteed docs 2024-09-22 10:00:24 +02:00
feature-gate-rustc-attrs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-rustc-attrs.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-rustc_const_unstable.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-rustc_const_unstable.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
feature-gate-rustdoc_internals.rs rustdoc-search: simplify rules for generics and type params 2024-10-30 12:27:48 -07:00
feature-gate-rustdoc_internals.stderr rustdoc-search: simplify rules for generics and type params 2024-10-30 12:27:48 -07:00
feature-gate-sha512_sm_x86.rs Add the sha512, sm3 and sm4 target features 2024-08-02 02:29:15 +05:30
feature-gate-sha512_sm_x86.stderr Add the sha512, sm3 and sm4 target features 2024-08-02 02:29:15 +05:30
feature-gate-shorter_tail_lifetimes.rs tail expression behind terminating scope 2024-06-18 04:14:43 +08:00
feature-gate-shorter_tail_lifetimes.stderr tail expression behind terminating scope 2024-06-18 04:14:43 +08:00
feature-gate-simd-ffi.rs Ban non-array SIMD 2024-09-09 19:39:43 -07:00
feature-gate-simd-ffi.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-simd.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
feature-gate-simd.stderr tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
feature-gate-staged_api.rs Update since stability attributes in tests 2023-10-23 13:04:47 -07:00
feature-gate-staged_api.stderr ast: Standardize visiting order for attributes and node IDs 2024-06-24 16:08:51 +03:00
feature-gate-stmt_expr_attributes.rs tests: add tests for doc comments on expressions 2024-04-11 16:39:06 +00:00
feature-gate-stmt_expr_attributes.stderr expand: fix minor diagnostics bug 2024-04-22 16:28:20 +00:00
feature-gate-strict_provenance_lints.rs move strict provenance lints to new feature gate, remove old feature gates 2024-10-21 15:22:17 +01:00
feature-gate-strict_provenance_lints.stderr Point at lint name instead of whole attr for gated lints 2024-12-18 19:27:44 +00:00
feature-gate-supertrait-item-shadowing.rs Implement RFC 3624 supertrait_item_shadowing 2025-02-13 05:45:53 +00:00
feature-gate-supertrait-item-shadowing.stderr Implement RFC 3624 supertrait_item_shadowing 2025-02-13 05:45:53 +00:00
feature-gate-test_unstable_lint.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-test_unstable_lint.stderr Point at lint name instead of whole attr for gated lints 2024-12-18 19:27:44 +00:00
feature-gate-thread_local.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-thread_local.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-trace_macros.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-trace_macros.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-trait-alias.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-trait-alias.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-transparent_unions.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-transparent_unions.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-trivial_bounds-lint.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-trivial_bounds.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-trivial_bounds.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
feature-gate-try_blocks.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-try_blocks.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-type_alias_impl_trait.rs Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
feature-gate-type_ascription.rs use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-type_ascription.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-unboxed-closures-manual-impls.rs tests: error strings for ABI stability now match 2025-02-09 20:45:47 -08:00
feature-gate-unboxed-closures-manual-impls.stderr More sophisticated span trimming 2025-02-21 00:41:17 +00:00
feature-gate-unboxed-closures-method-calls.rs use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-unboxed-closures-method-calls.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-unboxed-closures-ufcs-calls.rs use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-unboxed-closures-ufcs-calls.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-unboxed-closures.rs tests: error strings for ABI stability now match 2025-02-09 20:45:47 -08:00
feature-gate-unboxed-closures.stderr tests: error strings for ABI stability now match 2025-02-09 20:45:47 -08:00
feature-gate-unqualified-local-imports.rs add unqualified_local_imports lint 2024-09-23 11:57:28 +02:00
feature-gate-unqualified-local-imports.stderr add tracking issue for unqualified_local_imports 2025-03-10 08:51:19 +01:00
feature-gate-unsafe-binders.rs Add tests 2024-12-12 16:29:40 +00:00
feature-gate-unsafe-binders.stderr Add tests 2024-12-12 16:29:40 +00:00
feature-gate-unsafe_fields.rs Implement the unsafe-fields RFC. 2024-11-21 19:32:07 +01:00
feature-gate-unsafe_fields.with_gate.stderr Implement the unsafe-fields RFC. 2024-11-21 19:32:07 +01:00
feature-gate-unsafe_fields.without_gate.stderr Implement the unsafe-fields RFC. 2024-11-21 19:32:07 +01:00
feature-gate-unsafe_pin_internals.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-unsafe_pin_internals.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
feature-gate-unsized-const-params.rs Split part of adt_const_params into unsized_const_params 2024-07-17 11:01:29 +01:00
feature-gate-unsized-const-params.stderr fix(hir_analysis/wfcheck): don't leak {type error} 2024-09-29 23:40:43 -05:00
feature-gate-unsized_fn_params.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-unsized_fn_params.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
feature-gate-unsized_locals.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-unsized_locals.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
feature-gate-unsized_tuple_coercion.rs Delete tuple unsizing 2025-02-27 10:26:33 +00:00
feature-gate-unsized_tuple_coercion.stderr Delete tuple unsizing 2025-02-27 10:26:33 +00:00
feature-gate-used_with_arg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-used_with_arg.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-vectorcall.rs tests: use minicore more 2025-02-24 09:26:54 +00:00
feature-gate-vectorcall.stderr tests: use minicore more 2025-02-24 09:26:54 +00:00
feature-gate-where_clause_attrs.a.stderr Implment #[cfg] and #[cfg_attr] in where clauses 2025-03-01 22:02:46 +08:00
feature-gate-where_clause_attrs.b.stderr Implment #[cfg] and #[cfg_attr] in where clauses 2025-03-01 22:02:46 +08:00
feature-gate-where_clause_attrs.rs Implment #[cfg] and #[cfg_attr] in where clauses 2025-03-01 22:02:46 +08:00
feature-gate-with_negative_coherence.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-with_negative_coherence.stderr stabilize -Znext-solver=coherence 2024-10-15 13:11:00 +02:00
feature-gate-x86_amx_intrinsics.rs Add the feature gate and target-features 2024-07-11 19:00:49 -07:00
feature-gate-x86_amx_intrinsics.stderr Add the feature gate and target-features 2024-07-11 19:00:49 -07:00
feature-gate-xop_target_feature.rs Added the xop target feature and xop_target_feature gate 2024-07-12 23:30:22 +05:30
feature-gate-xop_target_feature.stderr Added the xop target feature and xop_target_feature gate 2024-07-12 23:30:22 +05:30
feature-gate-yeet_expr-in-cfg.rs Further cleanup cfgs in the UI test suite 2024-04-09 23:58:18 +02:00
feature-gate-yeet_expr-in-cfg.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-yeet_expr.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-yeet_expr.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-yield-expr.rs Add the yield_expr feature 2025-03-06 11:33:24 -08:00
feature-gate-yield-expr.stderr Add the yield_expr feature 2025-03-06 11:33:24 -08:00
feature-gated-feature-in-macro-arg.rs tests: error strings for ABI stability now match 2025-02-09 20:45:47 -08:00
feature-gated-feature-in-macro-arg.stderr tests: error strings for ABI stability now match 2025-02-09 20:45:47 -08:00
gated-bad-feature.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
gated-bad-feature.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-43106-gating-of-bench.rs Supress unhelpful diagnostics for unresolved top level attributes 2024-01-29 17:43:07 +08:00
issue-43106-gating-of-bench.stderr Supress unhelpful diagnostics for unresolved top level attributes 2024-01-29 17:43:07 +08:00
issue-43106-gating-of-builtin-attrs-error.rs remove support for the #[start] attribute 2025-01-21 06:59:15 -07:00
issue-43106-gating-of-builtin-attrs-error.stderr Fix test output expectations 2025-02-24 14:31:19 +01:00
issue-43106-gating-of-builtin-attrs.rs remove long-deprecated no-op attributes no_start and crate_id 2025-01-21 17:29:06 -07:00
issue-43106-gating-of-builtin-attrs.stderr remove long-deprecated no-op attributes no_start and crate_id 2025-01-21 17:29:06 -07:00
issue-43106-gating-of-deprecated.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-43106-gating-of-derive-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-43106-gating-of-derive-2.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
issue-43106-gating-of-derive.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-43106-gating-of-derive.stderr Tweak multispan rendering 2024-12-12 23:36:27 +00:00
issue-43106-gating-of-macro_escape.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-43106-gating-of-macro_escape.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-43106-gating-of-macro_use.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-43106-gating-of-macro_use.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-43106-gating-of-proc_macro_derive.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-43106-gating-of-proc_macro_derive.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-43106-gating-of-stable.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-43106-gating-of-stable.stderr ast: Standardize visiting order for attributes and node IDs 2024-06-24 16:08:51 +03:00
issue-43106-gating-of-test.rs Supress unhelpful diagnostics for unresolved top level attributes 2024-01-29 17:43:07 +08:00
issue-43106-gating-of-test.stderr Supress unhelpful diagnostics for unresolved top level attributes 2024-01-29 17:43:07 +08:00
issue-43106-gating-of-unstable.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-43106-gating-of-unstable.stderr ast: Standardize visiting order for attributes and node IDs 2024-06-24 16:08:51 +03:00
issue-49983-see-issue-0.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-49983-see-issue-0.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
rustc-private.rs use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
rustc-private.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
soft-syntax-gates-with-errors.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
soft-syntax-gates-with-errors.stderr Bless tests 2024-01-13 12:46:58 -05:00
soft-syntax-gates-without-errors.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
soft-syntax-gates-without-errors.stderr Bless tests 2024-01-13 12:46:58 -05:00
stability-attribute-consistency.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
stability-attribute-consistency.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
stable-features.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
stable-features.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
stmt_expr_attrs_no_feature.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
stmt_expr_attrs_no_feature.stderr Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
test-listing-format-json.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
test-listing-format-json.run.stderr update tests for the test harness's json formatting 2023-04-21 15:34:38 +02:00
trace_macros-gate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trace_macros-gate.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
unknown-feature.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unknown-feature.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unstable-attribute-allow-issue-0.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unstable-attribute-allow-issue-0.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unstable-attribute-rejects-already-stable-features.rs Emit an error for unstable attributes that reference already stable features 2024-10-12 10:19:24 +02:00
unstable-attribute-rejects-already-stable-features.stderr ensure that all publicly reachable const fn have const stability info 2024-11-10 10:16:26 +01:00
version_check.rs Make RUSTC_OVERRIDE_VERSION_STRING overwrite the rendered version output, too 2024-07-30 14:08:02 +00:00