rust/tests/ui/feature-gates
bors d4822c2d84 Auto merge of #127589 - notriddle:notriddle/search-sem-3, r=GuillaumeGomez
rustdoc-search: simplify rules for generics and type params

**Heads up!**: This PR is a follow-up that depends on #124544. It adds 12dc24f460, a change to the filtering behavior, and 9900ea48b5, a minor ranking tweak.

Part of https://github.com/rust-lang/rust-project-goals/issues/112

This PR overturns https://github.com/rust-lang/rust/pull/109802

## Preview

* no results: [`Box<[A]> -> Vec<B>`](http://notriddle.com/rustdoc-html-demo-12/search-sem-3/std/index.html?search=Box%3C%5BA%5D%3E%20-%3E%20Vec%3CB%3E)
* results: [`Box<[A]> -> Vec<A>`](http://notriddle.com/rustdoc-html-demo-12/search-sem-3/std/index.html?search=Box%3C%5BA%5D%3E%20-%3E%20Vec%3CA%3E)
* [`T -> U`](http://notriddle.com/rustdoc-html-demo-12/search-sem-3/std/index.html?search=T%20-%3E%20U)
* [`Cx -> TyCtxt`](http://notriddle.com/rustdoc-html-demo-12/search-sem-3-compiler/rustdoc/index.html?search=Cx%20-%3E%20TyCtxt)

![image](https://github.com/user-attachments/assets/015ae28c-7469-4f7f-be03-157d28d7ec97)

## Description

This commit is a response to feedback on the displayed type signatures results, by making generics act stricter.

- Order within generics is significant. This means `Vec<Allocator>` now matches only with a true vector of allocators, instead of matching the second type param. It also makes unboxing within generics stricter, so `Result<A, B>` only matches if `B` is in the error type and `A` is in the success type. The top level of the function search is unaffected.
- Generics are only "unboxed" if a type is explicitly opted into it. References and tuples are hardcoded to allow unboxing, and Box, Rc, Arc, Option, Result, and Future are opted in with an unstable attribute. Search result unboxing is the process that allows you to search for `i32 -> str` and get back a function with the type signature `&Future<i32> -> Box<str>`.
- Instead of ranking by set overlap, it ranks by the number of items in the type signature. This makes it easier to find single type signatures like transmute.

## Find the discussion on

* <https://rust-lang.zulipchat.com/#narrow/stream/393423-t-rustdoc.2Fmeetings/topic/meeting.202024-07-08/near/449965149>
* <https://github.com/rust-lang/rust/pull/124544#issuecomment-2204272265>
* <https://rust-lang.zulipchat.com/#narrow/channel/266220-t-rustdoc/topic/deciding.20on.20semantics.20of.20generics.20in.20rustdoc.20search>
2024-11-11 12:26:00 +00:00
..
auxiliary
allow-features-empty.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
allow-features-empty.stderr
allow-features.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
allow-features.stderr
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
doc-rust-logo.stderr
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
feature-gate-abi_ptx.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-abi_ptx.stderr
feature-gate-abi_unadjusted.rs
feature-gate-abi_unadjusted.stderr
feature-gate-abi-avr-interrupt.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-abi-avr-interrupt.stderr
feature-gate-abi-msp430-interrupt.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-abi-msp430-interrupt.stderr
feature-gate-abi-riscv-interrupt.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-abi-riscv-interrupt.stderr
feature-gate-abi-x86-interrupt.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-abi-x86-interrupt.stderr
feature-gate-abi.rs Don't even parse an intrinsic unless the feature gate is enabled 2024-04-07 13:30:12 -04:00
feature-gate-abi.stderr Don't even parse an intrinsic unless the feature gate is enabled 2024-04-07 13:30:12 -04:00
feature-gate-adt_const_params.rs
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
feature-gate-allocator_internals.stderr
feature-gate-allow-internal-unsafe-nested-macro.rs
feature-gate-allow-internal-unsafe-nested-macro.stderr
feature-gate-allow-internal-unstable-nested-macro.rs
feature-gate-allow-internal-unstable-nested-macro.stderr
feature-gate-allow-internal-unstable-struct.rs
feature-gate-allow-internal-unstable-struct.stderr
feature-gate-allow-internal-unstable.rs
feature-gate-allow-internal-unstable.stderr
feature-gate-arbitrary_self_types-raw-pointer.rs
feature-gate-arbitrary_self_types-raw-pointer.stderr Arbitrary self types v2: pointers feature gate. 2024-08-27 17:32:35 +00:00
feature-gate-arbitrary-self-types-pointers.rs Arbitrary self types v2: pointers feature gate. 2024-08-27 17:32:35 +00:00
feature-gate-arbitrary-self-types-pointers.stderr Arbitrary self types v2: pointers feature gate. 2024-08-27 17:32:35 +00:00
feature-gate-arbitrary-self-types.rs
feature-gate-arbitrary-self-types.stderr
feature-gate-asm_experimental_arch.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-asm_experimental_arch.stderr
feature-gate-asm_goto.rs Add tests for asm goto 2024-02-24 19:49:16 +00:00
feature-gate-asm_goto.stderr Add tests for asm goto 2024-02-24 19:49:16 +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
feature-gate-assoc-type-defaults.rs
feature-gate-assoc-type-defaults.stderr
feature-gate-associated_const_equality.rs
feature-gate-associated_const_equality.stderr
feature-gate-auto-traits.rs
feature-gate-auto-traits.stderr
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
feature-gate-box_patterns.stderr
feature-gate-builtin_syntax.rs
feature-gate-builtin_syntax.stderr
feature-gate-c_variadic.rs
feature-gate-c_variadic.stderr
feature-gate-cfg_overflow_checks.rs
feature-gate-cfg_overflow_checks.stderr
feature-gate-cfg_sanitize.rs
feature-gate-cfg_sanitize.stderr
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-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-relocation-model.rs
feature-gate-cfg-relocation-model.stderr
feature-gate-cfg-sanitizer_cfi.rs
feature-gate-cfg-sanitizer_cfi.stderr
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
feature-gate-cfg-target-has-atomic-equal-alignment.stderr
feature-gate-cfg-target-has-atomic.rs
feature-gate-cfg-target-has-atomic.stderr
feature-gate-cfg-target-thread-local.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00: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
feature-gate-cfg-version.stderr
feature-gate-cfi_encoding.rs
feature-gate-cfi_encoding.stderr
feature-gate-closure_lifetime_binder.rs
feature-gate-closure_lifetime_binder.stderr
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
feature-gate-compiler-builtins.stderr
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_idents2.rs
feature-gate-concat_idents2.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_idents3.rs
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-concat_idents.rs
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-const-indexing.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-coroutines.e2024.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
feature-gate-coroutines.none.stderr rustc_ast_lowering: make "yield syntax is experimental" translatable 2024-08-10 14:32:55 +03:00
feature-gate-coroutines.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
feature-gate-coverage-attribute.rs
feature-gate-coverage-attribute.stderr
feature-gate-custom_attribute2.rs
feature-gate-custom_attribute2.stderr
feature-gate-custom_attribute.rs
feature-gate-custom_attribute.stderr
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
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
feature-gate-decl_macro.stderr
feature-gate-deprecated_safe.rs
feature-gate-deprecated_safe.stderr
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 Replace item names containing an error code with something more meaningful 2024-04-30 22:27:19 +02:00
feature-gate-dispatch-from-dyn-missing-impl.rs UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
feature-gate-dispatch-from-dyn-missing-impl.stderr Compiler: Rename "object safe" to "dyn compatible" 2024-09-25 13:26:48 +02:00
feature-gate-doc_cfg.rs
feature-gate-doc_cfg.stderr
feature-gate-doc_masked.rs
feature-gate-doc_masked.stderr
feature-gate-doc_notable_trait.rs
feature-gate-doc_notable_trait.stderr
feature-gate-dyn_compatible_for_dispatch.rs UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
feature-gate-dyn_compatible_for_dispatch.stderr UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
feature-gate-exhaustive-patterns.rs Update tests 2024-08-10 12:07:17 +02:00
feature-gate-exhaustive-patterns.stderr Update tests 2024-08-10 12:07:17 +02:00
feature-gate-explicit_tail_calls.rs
feature-gate-explicit_tail_calls.stderr
feature-gate-extern_absolute_paths.rs
feature-gate-extern_absolute_paths.stderr Do not use question as label 2024-07-24 21:03:27 +00:00
feature-gate-extern_types.rs
feature-gate-extern_types.stderr
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
feature-gate-feature-gate.stderr
feature-gate-ffi_const.rs
feature-gate-ffi_const.stderr
feature-gate-ffi_pure.rs
feature-gate-ffi_pure.stderr
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
feature-gate-fn_align.stderr
feature-gate-fn_delegation.rs
feature-gate-fn_delegation.stderr
feature-gate-format_args_nl.rs
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
feature-gate-fundamental.stderr
feature-gate-gen_blocks.e2024.stderr
feature-gate-gen_blocks.none.stderr
feature-gate-gen_blocks.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-generic_arg_infer.normal.stderr Provide structured suggestion for #![feature(foo)] 2024-03-18 16:08:58 +00:00
feature-gate-generic_arg_infer.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-generic_associated_types_extended.rs
feature-gate-generic_associated_types_extended.stderr
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-impl_trait_in_assoc_type.rs
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
feature-gate-impl_trait_in_fn_trait_return.stderr
feature-gate-inherent_associated_types.rs
feature-gate-inherent_associated_types.stderr
feature-gate-inline_const_pat.rs
feature-gate-inline_const_pat.stderr
feature-gate-intrinsics.rs Don't even parse an intrinsic unless the feature gate is enabled 2024-04-07 13:30:12 -04:00
feature-gate-intrinsics.stderr Don't even parse an intrinsic unless the feature gate is enabled 2024-04-07 13:30:12 -04:00
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
feature-gate-large-assignments.stderr
feature-gate-lifetime-capture-rules-2024.rs
feature-gate-lifetime-capture-rules-2024.stderr Bless test fallout 2024-08-17 12:43:25 -04:00
feature-gate-link_cfg.rs
feature-gate-link_cfg.stderr
feature-gate-link_llvm_intrinsics.rs
feature-gate-link_llvm_intrinsics.stderr
feature-gate-link-arg-attribute.rs
feature-gate-link-arg-attribute.stderr
feature-gate-linkage.rs
feature-gate-linkage.stderr
feature-gate-log_syntax2.rs
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
feature-gate-log_syntax.rs
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
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
feature-gate-marker_trait_attr.stderr
feature-gate-may-dangle.rs
feature-gate-may-dangle.stderr
feature-gate-min_const_fn.rs
feature-gate-min_const_fn.stderr
feature-gate-more-maybe-bounds.rs Forbid ?Trait bounds repetitions 2024-07-26 16:35:05 +03:00
feature-gate-more-maybe-bounds.stderr Forbid ?Trait bounds repetitions 2024-07-26 16:35:05 +03:00
feature-gate-more-qualified-paths.rs
feature-gate-more-qualified-paths.stderr
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
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-native_link_modifiers_as_needed.rs
feature-gate-native_link_modifiers_as_needed.stderr
feature-gate-needs-allocator.rs
feature-gate-needs-allocator.stderr
feature-gate-negate-unsigned.rs
feature-gate-negate-unsigned.stderr Tweak -1 as usize suggestion 2024-07-05 00:52:01 +00:00
feature-gate-negative_bounds.rs
feature-gate-negative_bounds.stderr
feature-gate-never_patterns.rs
feature-gate-never_patterns.stderr
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-no_core.rs
feature-gate-no_core.stderr
feature-gate-no_sanitize.rs
feature-gate-no_sanitize.stderr
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
feature-gate-non_lifetime_binders.rs
feature-gate-non_lifetime_binders.stderr
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
feature-gate-omit-gdb-pretty-printer-section.stderr
feature-gate-optimize_attribute.rs misapplied optimize attribute throws a compilation error (#128488) 2024-10-20 08:34:15 -06:00
feature-gate-optimize_attribute.stderr misapplied optimize attribute throws a compilation error (#128488) 2024-10-20 08:34:15 -06:00
feature-gate-overlapping_marker_traits.rs
feature-gate-overlapping_marker_traits.stderr
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.rs Add feature gate test for pattern_complexity attribute 2024-03-03 13:10:15 +01:00
feature-gate-pattern-complexity.stderr Add feature gate test for pattern_complexity attribute 2024-03-03 13:10:15 +01:00
feature-gate-pin_ergonomics.rs Add sugar for &pin (const|mut) types 2024-10-07 11:15:04 -07:00
feature-gate-pin_ergonomics.stderr Add sugar for &pin (const|mut) types 2024-10-07 11:15:04 -07: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_capturing_in_traits.rs Add gate for precise capturing in traits 2024-10-10 11:44:11 -07:00
feature-gate-precise_capturing_in_traits.stderr Add gate for precise capturing in traits 2024-10-10 11:44:11 -07:00
feature-gate-precise_pointer_size_matching.rs
feature-gate-precise_pointer_size_matching.stderr
feature-gate-prelude_import.rs
feature-gate-prelude_import.stderr
feature-gate-print-check-cfg.rs Add --print=check-cfg to get the expected configs 2024-04-25 07:58:31 +02:00
feature-gate-print-check-cfg.stderr Add --print=check-cfg to get the expected configs 2024-04-25 07:58:31 +02:00
feature-gate-profiler-runtime.rs
feature-gate-profiler-runtime.stderr
feature-gate-public_private_dependencies.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-register_tool.rs
feature-gate-register_tool.stderr
feature-gate-repr128.rs
feature-gate-repr128.stderr
feature-gate-repr-simd.rs Ban non-array SIMD 2024-09-09 19:39:43 -07:00
feature-gate-repr-simd.stderr bump conflicting_repr_hints lint to be shown in dependencies 2024-08-06 11:17:26 +02: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
feature-gate-rust_cold_cc.stderr
feature-gate-rustc_const_unstable.rs
feature-gate-rustc_const_unstable.stderr
feature-gate-rustc_encodable_decodable.rs use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-rustc_encodable_decodable.stderr use backticks instead of single quotes when reporting "use of unstable library feature" 2024-11-03 13:55:52 -08:00
feature-gate-rustc-allow-const-fn-unstable.rs
feature-gate-rustc-allow-const-fn-unstable.stderr
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
feature-gate-rustc-attrs.stderr
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
feature-gate-simd.rs Ban non-array SIMD 2024-09-09 19:39:43 -07:00
feature-gate-simd.stderr
feature-gate-staged_api.rs
feature-gate-staged_api.stderr ast: Standardize visiting order for attributes and node IDs 2024-06-24 16:08:51 +03:00
feature-gate-start.rs
feature-gate-start.stderr
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 move strict provenance lints to new feature gate, remove old feature gates 2024-10-21 15:22:17 +01: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
feature-gate-thread_local.rs
feature-gate-thread_local.stderr
feature-gate-trace_macros.rs
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_upcasting.rs Revert "Auto merge of #118133 - Urgau:stabilize_trait_upcasting, r=WaffleLapkin" 2024-01-22 14:24:31 +00:00
feature-gate-trait_upcasting.stderr Revert "Auto merge of #118133 - Urgau:stabilize_trait_upcasting, r=WaffleLapkin" 2024-01-22 14:24:31 +00:00
feature-gate-trait-alias.rs
feature-gate-trait-alias.stderr
feature-gate-transparent_unions.rs
feature-gate-transparent_unions.stderr
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
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
feature-gate-type_alias_impl_trait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +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 Rename HIR TypeBinding to AssocItemConstraint and related cleanup 2024-05-30 22:52:33 +02:00
feature-gate-unboxed-closures-manual-impls.stderr show fnsig's output when there is difference 2024-07-06 23:29:58 +08: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
feature-gate-unboxed-closures.stderr
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 unqualified_local_imports lint 2024-09-23 11:57:28 +02: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
feature-gate-unsized_fn_params.rs
feature-gate-unsized_fn_params.stderr On implicit Sized bound on fn argument, point at type instead of pattern 2024-09-27 00:45:02 +00:00
feature-gate-unsized_locals.rs
feature-gate-unsized_locals.stderr On implicit Sized bound on fn argument, point at type instead of pattern 2024-09-27 00:45:02 +00:00
feature-gate-unsized_tuple_coercion.rs
feature-gate-unsized_tuple_coercion.stderr
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-used_with_arg.rs
feature-gate-used_with_arg.stderr
feature-gate-vectorcall.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-vectorcall.stderr Add tracking issue and unstable book page for "vectorcall" ABI 2024-04-28 19:27:05 +01:00
feature-gate-with_negative_coherence.rs
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
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
feature-gated-feature-in-macro-arg.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
feature-gated-feature-in-macro-arg.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
gated-bad-feature.rs
gated-bad-feature.stderr
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 Gate repr(Rust) correctly on non-ADT items 2024-08-22 14:22:23 -04:00
issue-43106-gating-of-builtin-attrs-error.stderr Gate repr(Rust) correctly on non-ADT items 2024-08-22 14:22:23 -04:00
issue-43106-gating-of-builtin-attrs.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-43106-gating-of-builtin-attrs.stderr resolve: Implement a lint for out-of-scope use of macro_rules 2024-06-24 17:12:08 +03: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
issue-43106-gating-of-derive-2.stderr
issue-43106-gating-of-derive.rs
issue-43106-gating-of-derive.stderr
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
issue-43106-gating-of-macro_use.rs
issue-43106-gating-of-macro_use.stderr
issue-43106-gating-of-proc_macro_derive.rs
issue-43106-gating-of-proc_macro_derive.stderr
issue-43106-gating-of-stable.rs
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
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
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
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
stability-attribute-consistency.rs
stability-attribute-consistency.stderr
stable-features.rs
stable-features.stderr
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
trace_macros-gate.rs
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
unknown-feature.stderr
unstable-attribute-allow-issue-0.rs
unstable-attribute-allow-issue-0.stderr
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 Re-do recursive const stability checks 2024-10-25 20:31:40 +02:00
version_check.rs Make RUSTC_OVERRIDE_VERSION_STRING overwrite the rendered version output, too 2024-07-30 14:08:02 +00:00