rust/tests/ui/feature-gates
Esteban Küber f0c93117ed Use root obligation on E0277 for some cases
When encountering trait bound errors that satisfy some heuristics that
tell us that the relevant trait for the user comes from the root
obligation and not the current obligation, we use the root predicate for
the main message.

This allows to talk about "X doesn't implement Pattern<'_>" over the
most specific case that just happened to fail, like  "char doesn't
implement Fn(&mut char)" in
`tests/ui/traits/suggest-dereferences/root-obligation.rs`

The heuristics are:

 - the type of the leaf predicate is (roughly) the same as the type
   from the root predicate, as a proxy for "we care about the root"
 - the leaf trait and the root trait are different, so as to avoid
   talking about `&mut T: Trait` and instead remain talking about
   `T: Trait` instead
 - the root trait is not `Unsize`, as to avoid talking about it in
   `tests/ui/coercion/coerce-issue-49593-box-never.rs`.

```
error[E0277]: the trait bound `&char: Pattern<'_>` is not satisfied
  --> $DIR/root-obligation.rs:6:38
   |
LL |         .filter(|c| "aeiou".contains(c))
   |                             -------- ^ the trait `Fn<(char,)>` is not implemented for `&char`, which is required by `&char: Pattern<'_>`
   |                             |
   |                             required by a bound introduced by this call
   |
   = note: required for `&char` to implement `FnOnce<(char,)>`
   = note: required for `&char` to implement `Pattern<'_>`
note: required by a bound in `core::str::<impl str>::contains`
  --> $SRC_DIR/core/src/str/mod.rs:LL:COL
help: consider dereferencing here
   |
LL |         .filter(|c| "aeiou".contains(*c))
   |                                      +
```

Fix #79359, fix #119983, fix #118779, cc #118415 (the suggestion needs
to change).
2024-03-03 18:53:35 +00: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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bench.stderr make soft_unstable show up in future breakage reports 2023-09-29 21:56:57 +02: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
duplicate-features.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00: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_ptx.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-abi_ptx.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-abi_unadjusted.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-abi_unadjusted.stderr Bless tests 2024-01-13 12:46:58 -05:00
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 Bless tests 2024-01-13 12:46:58 -05:00
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 Bless tests 2024-01-13 12:46:58 -05:00
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 Bless tests 2024-01-13 12:46:58 -05:00
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 Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-abi.rs fix use of platform_intrinsics in tests 2024-02-25 08:15:44 +01:00
feature-gate-abi.stderr fix use of platform_intrinsics in tests 2024-02-25 08:15:44 +01: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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
feature-gate-alloc-error-handler.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-alloc-error-handler.stderr Bless tests 2024-01-13 12:46:58 -05: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-allow-internal-unstable-struct.stderr Bless tests 2024-01-13 12:46:58 -05: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-raw-pointer.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-arbitrary_self_types-raw-pointer.stderr Bless tests 2024-01-13 12:46:58 -05: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 Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-asm_const.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-asm_const.stderr Bless tests 2024-01-13 12:46:58 -05:00
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 Bless tests 2024-01-13 12:46:58 -05: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-associated_type_bounds.rs No more associated type bounds in dyn trait 2024-02-10 03:23:51 +00:00
feature-gate-associated_type_bounds.stderr No more associated type bounds in dyn trait 2024-02-10 03:23:51 +00:00
feature-gate-auto-traits.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-auto-traits.stderr Bless tests 2024-01-13 12:46:58 -05: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_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-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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-cfg-target-compact.stderr Bless tests 2024-01-13 12:46:58 -05: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 [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 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-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-check-cfg.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-check-cfg.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00: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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-closure_track_caller.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-collapse_debuginfo.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-collapse_debuginfo.stderr Bless tests 2024-01-13 12:46:58 -05: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-concat_bytes.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-concat_idents2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-concat_idents2.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-concat_idents3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-concat_idents3.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-concat_idents.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-concat_idents.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-const_refs_to_cell.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-const-indexing.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-const-refs-to-static.rs check_consts: fix some duplicate errors by not calling check_static unnecessarily 2024-02-11 15:12:10 +01:00
feature-gate-const-refs-to-static.stderr check_consts: fix some duplicate errors by not calling check_static unnecessarily 2024-02-11 15:12:10 +01:00
feature-gate-coroutines.e2024.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-coroutines.none.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-coroutines.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-coverage-attribute.rs Rename the feature, but not the attribute, to coverage_attribute 2023-09-08 12:46:09 +01:00
feature-gate-coverage-attribute.stderr Bless tests 2024-01-13 12:46:58 -05: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_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_mir.rs Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
feature-gate-custom_mir.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00: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 Bless tests 2024-01-13 12:46:58 -05: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_type_parameter_fallback.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-default_type_parameter_fallback.stderr Move /src/test to /tests 2023-01-11 09:32:08 +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-dispatch-from-dyn-cell.rs add feature gate tests for DispatchFromDyn 2023-01-24 14:21:57 +01:00
feature-gate-dispatch-from-dyn-cell.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
feature-gate-dispatch-from-dyn-missing-impl.rs add feature gate tests for DispatchFromDyn 2023-01-24 14:21:57 +01:00
feature-gate-dispatch-from-dyn-missing-impl.stderr On object safety error, mention new enum as alternative 2023-10-29 23:55:46 +00: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-exclusive-range-pattern.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-exclusive-range-pattern.stderr add help message for exclusive_range_pattern error 2024-01-19 13:38:24 -05:00
feature-gate-exhaustive-patterns.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-exhaustive-patterns.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01: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 When failing to import core, suggest std 2023-11-22 19:30:47 +00:00
feature-gate-extern_prelude.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-extern_prelude.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01: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-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-fn_align.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-fn_align.stderr Bless tests 2024-01-13 12:46:58 -05: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 Bless tests 2024-01-13 12:46:58 -05: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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-generic_arg_infer.normal.stderr Bless tests 2024-01-13 12:46:58 -05: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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-generic_associated_types_extended.stderr Bless tests 2024-01-13 12:46:58 -05: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 tests 2024-01-13 12:46:58 -05: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-imported_main.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-imported_main.stderr Bless tests 2024-01-13 12:46:58 -05: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-inline_const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-inline_const.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-intrinsics.rs Check signature of intrinsics with fallback bodies 2024-02-12 17:44:53 +00:00
feature-gate-intrinsics.stderr Add help to hir_analysis_unrecognized_intrinsic_function 2024-02-17 23:16:30 -08:00
feature-gate-is_sorted.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-is_sorted.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-lang-items.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-lang-items.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-large-assignments.rs Move /src/test to /tests 2023-01-11 09:32:08 +00: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 Add lifetime_capture_rules_2024 2023-12-05 19:53:59 +00: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-link-arg-attribute.rs Enable link-arg link kind inside of #[link] attribute 2023-11-30 08:26:13 -08:00
feature-gate-link-arg-attribute.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-lint-reasons.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-lint-reasons.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-log_syntax2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-log_syntax2.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-log_syntax2.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-log_syntax.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-log_syntax.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-log_syntax.stdout Move /src/test to /tests 2023-01-11 09:32:08 +00: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_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-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 Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-naked_functions.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-naked_functions.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
feature-gate-native_link_modifiers_as_needed.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-native_link_modifiers_as_needed.stderr Bless tests 2024-01-13 12:46:58 -05: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 Move /src/test to /tests 2023-01-11 09:32:08 +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 Auto merge of #119610 - Nadrieril:never_pattern_bindings, r=compiler-errors 2024-01-15 21:24:13 +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-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 Bless tests 2024-01-13 12:46:58 -05: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-object_safe_for_dispatch.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-object_safe_for_dispatch.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-offset-of-enum.rs Stabilize simple offset_of 2024-01-19 20:38:51 +00:00
feature-gate-offset-of-enum.stderr Split remaining offset_of features into new tracking issues 2024-01-19 21:13:11 +00:00
feature-gate-offset-of-nested.rs Stabilize simple offset_of 2024-01-19 20:38:51 +00:00
feature-gate-offset-of-nested.stderr Split remaining offset_of features into new tracking issues 2024-01-19 21:13:11 +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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-optimize_attribute.stderr Bless tests 2024-01-13 12:46:58 -05: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-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-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-proc_macro_byte_character.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-proc_macro_byte_character.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-proc_macro_c_str_literals.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-proc_macro_c_str_literals.stderr proc_macro_c_str_literals: Implement Literal::c_string constructor 2024-01-16 13:27:58 -08: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-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-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-repr-simd.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-repr-simd.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-return_type_notation.cfg.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-return_type_notation.no.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-return_type_notation.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-rust_cold_cc.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-rust_cold_cc.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-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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-rustc-attrs-1.stderr Bless tests 2024-01-13 12:46:58 -05: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-rustdoc_internals.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-rustdoc_internals.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-simd-ffi.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-simd-ffi.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-simd.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-simd.stderr Bless tests 2024-01-13 12:46:58 -05: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 Update since stability attributes in tests 2023-10-23 13:04:47 -07:00
feature-gate-start.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-start.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-stmt_expr_attributes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-stmt_expr_attributes.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-strict_provenance.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-strict_provenance.stderr Bless tests 2024-01-13 12:46:58 -05: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 Bless tests 2024-01-13 12:46:58 -05: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 Bless tests 2024-01-13 12:46:58 -05: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 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 Use root obligation on E0277 for some cases 2024-03-03 18:53:35 +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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-type_ascription.rs Rip it out 2023-05-01 16:15:13 +08:00
feature-gate-type_ascription.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-type_privacy_lints.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-type_privacy_lints.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-unboxed-closures-manual-impls.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
feature-gate-unboxed-closures-manual-impls.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-unboxed-closures-method-calls.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-unboxed-closures-method-calls.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-unboxed-closures-ufcs-calls.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-unboxed-closures-ufcs-calls.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-unboxed-closures.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-unboxed-closures.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-unix_sigpipe.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-unix_sigpipe.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-unnamed_fields.rs Check representation of unnamed fields 2024-02-12 12:47:31 +08:00
feature-gate-unnamed_fields.stderr Check representation of unnamed fields 2024-02-12 12:47:31 +08: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_fn_params.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-unsized_fn_params.stderr Track HirId instead of Span in ObligationCauseCode::SizedArgumentType 2024-01-03 18:59:42 +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 number in error message even for one error 2023-11-24 19:15:52 +01:00
feature-gate-unsized_tuple_coercion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-unsized_tuple_coercion.stderr Bless tests 2024-01-13 12:46:58 -05: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 [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-vectorcall.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-wasm_abi.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-wasm_abi.stderr Bless tests 2024-01-13 12:46:58 -05: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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
feature-gate-yeet_expr-in-cfg.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00: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-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 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 Bless tests 2024-01-13 12:46:58 -05:00
issue-43106-gating-of-builtin-attrs-error.stderr Bless tests 2024-01-13 12:46:58 -05: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 Move /src/test to /tests 2023-01-11 09:32:08 +00: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 Bless tests 2024-01-13 12:46:58 -05: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 Move /src/test to /tests 2023-01-11 09:32:08 +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 Move /src/test to /tests 2023-01-11 09:32:08 +00: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 Move /src/test to /tests 2023-01-11 09:32:08 +00: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 Bless tests 2024-01-13 12:46:58 -05:00
rustc-private.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustc-private.stderr Bless tests 2024-01-13 12:46:58 -05: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
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 Bless tests 2024-01-13 12:46:58 -05: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