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
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 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
doc-rust-logo.rs
doc-rust-logo.stderr Bless tests 2024-01-13 12:46:58 -05:00
duplicate-features.rs
duplicate-features.stderr
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
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
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
feature-gate-allocator_internals.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-allow-internal-unsafe-nested-macro.rs
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
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
feature-gate-allow-internal-unstable-struct.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-allow-internal-unstable.rs
feature-gate-allow-internal-unstable.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-arbitrary_self_types-raw-pointer.rs
feature-gate-arbitrary_self_types-raw-pointer.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-arbitrary-self-types.rs
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
feature-gate-assoc-type-defaults.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-associated_const_equality.rs
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
feature-gate-auto-traits.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-box_patterns.rs
feature-gate-box_patterns.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-builtin_syntax.rs
feature-gate-builtin_syntax.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-c_variadic.rs
feature-gate-c_variadic.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-cfg_overflow_checks.rs
feature-gate-cfg_overflow_checks.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-cfg_sanitize.rs
feature-gate-cfg_sanitize.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-cfg-relocation-model.rs
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
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
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
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
feature-gate-cfg-version.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-cfi_encoding.rs
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
feature-gate-closure_lifetime_binder.rs
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
feature-gate-collapse_debuginfo.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-compiler-builtins.rs
feature-gate-compiler-builtins.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-concat_bytes.rs
feature-gate-concat_bytes.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-concat_idents2.rs
feature-gate-concat_idents2.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-concat_idents3.rs
feature-gate-concat_idents3.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-concat_idents.rs
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
feature-gate-coverage-attribute.stderr Bless tests 2024-01-13 12:46:58 -05:00
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 Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
feature-gate-custom_test_frameworks.rs
feature-gate-custom_test_frameworks.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-decl_macro.rs
feature-gate-decl_macro.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-default_type_parameter_fallback.rs
feature-gate-default_type_parameter_fallback.stderr
feature-gate-deprecated_safe.rs
feature-gate-deprecated_safe.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-dispatch-from-dyn-cell.rs
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
feature-gate-dispatch-from-dyn-missing-impl.stderr
feature-gate-doc_cfg.rs
feature-gate-doc_cfg.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-doc_masked.rs
feature-gate-doc_masked.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-doc_notable_trait.rs
feature-gate-doc_notable_trait.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-exclusive-range-pattern.rs
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
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
feature-gate-explicit_tail_calls.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-extern_absolute_paths.rs
feature-gate-extern_absolute_paths.stderr
feature-gate-extern_prelude.rs
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
feature-gate-extern_types.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-feature-gate.rs
feature-gate-feature-gate.stderr Undeprecate and use lint unstable_features 2023-12-20 18:16:28 +01:00
feature-gate-ffi_const.rs
feature-gate-ffi_const.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-ffi_pure.rs
feature-gate-ffi_pure.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-fn_align.rs
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
feature-gate-format_args_nl.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-fundamental.rs
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
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
feature-gate-imported_main.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-inherent_associated_types.rs
feature-gate-inherent_associated_types.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-inline_const_pat.rs
feature-gate-inline_const_pat.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-inline_const.rs
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
feature-gate-is_sorted.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-lang-items.rs
feature-gate-lang-items.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-large-assignments.rs
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
feature-gate-link_cfg.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-link_llvm_intrinsics.rs
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
feature-gate-linkage.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-lint-reasons.rs
feature-gate-lint-reasons.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-log_syntax2.rs
feature-gate-log_syntax2.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-log_syntax2.stdout
feature-gate-log_syntax.rs
feature-gate-log_syntax.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-log_syntax.stdout
feature-gate-marker_trait_attr.rs
feature-gate-marker_trait_attr.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-may-dangle.rs
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
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
feature-gate-native_link_modifiers_as_needed.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-needs-allocator.rs
feature-gate-needs-allocator.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-negate-unsigned.rs
feature-gate-negate-unsigned.stderr
feature-gate-negative_bounds.rs
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
feature-gate-no_core.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-no_sanitize.rs
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
feature-gate-non_lifetime_binders.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-object_safe_for_dispatch.rs
feature-gate-object_safe_for_dispatch.stderr
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
feature-gate-omit-gdb-pretty-printer-section.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-optimize_attribute.rs
feature-gate-optimize_attribute.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-overlapping_marker_traits.rs
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
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
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
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
feature-gate-register_tool.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-repr128.rs
feature-gate-repr128.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-repr-simd.rs
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
feature-gate-rust_cold_cc.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-rustc_const_unstable.rs
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
feature-gate-rustc-allow-const-fn-unstable.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-rustc-attrs-1.rs
feature-gate-rustc-attrs-1.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-rustc-attrs.rs
feature-gate-rustc-attrs.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-rustdoc_internals.rs
feature-gate-rustdoc_internals.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-simd-ffi.rs
feature-gate-simd-ffi.stderr
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
feature-gate-staged_api.stderr
feature-gate-start.rs
feature-gate-start.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-stmt_expr_attributes.rs
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
feature-gate-thread_local.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-trace_macros.rs
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
feature-gate-trait-alias.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-transparent_unions.rs
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
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
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
feature-gate-unboxed-closures-method-calls.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-unboxed-closures-ufcs-calls.rs
feature-gate-unboxed-closures-ufcs-calls.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-unboxed-closures.rs
feature-gate-unboxed-closures.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-unix_sigpipe.rs
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
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
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
feature-gate-unsized_tuple_coercion.stderr Bless tests 2024-01-13 12:46:58 -05:00
feature-gate-used_with_arg.rs
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
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
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 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
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 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
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
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
issue-49983-see-issue-0.rs
issue-49983-see-issue-0.stderr Bless tests 2024-01-13 12:46:58 -05:00
rustc-private.rs
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
stability-attribute-consistency.stderr
stable-features.rs
stable-features.stderr
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 Bless tests 2024-01-13 12:46:58 -05:00
unknown-feature.rs
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
unstable-attribute-allow-issue-0.stderr