rust/tests/ui/specialization
bors 5378c1cf07 Auto merge of #119821 - oli-obk:reveal_all_const_evals, r=lcnr
Always use RevealAll for const eval queries

implements what is described in https://github.com/rust-lang/rust/pull/116803#discussion_r1364089471

Using `UserFacing` for const eval does not make sense anymore, unless we significantly change things like avoiding revealing opaque types.

New tests are copied from https://github.com/rust-lang/rust/pull/101478
2024-01-20 04:57:51 +00:00
..
auxiliary
ctfe Always use RevealAll for const eval queries 2024-01-19 11:32:34 +00:00
defaultimpl Bless tests 2024-01-13 12:46:58 -05:00
min_specialization Reorder check_item_type diagnostics so they occur next to the corresponding check_well_formed diagnostics 2024-01-02 14:17:56 +00:00
soundness
allow_internal_unstable.rs Fix allow_internal_unstable for (min_)specialization 2024-01-14 13:50:02 +00:00
assoc-ty-graph-cycle.rs
assoc-ty-graph-cycle.stderr
const_trait_impl.rs
const_trait_impl.stderr Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
cross-crate-defaults.rs
cross-crate-defaults.stderr
default-associated-type-bound-1.rs
default-associated-type-bound-1.stderr
default-associated-type-bound-2.rs
default-associated-type-bound-2.stderr
default-generic-associated-type-bound.rs
default-generic-associated-type-bound.stderr
issue-33017.rs
issue-33017.stderr
issue-35376.rs
issue-35376.stderr
issue-36804.rs
issue-36804.stderr
issue-38091-2.rs
issue-38091-2.stderr
issue-38091.rs
issue-38091.stderr
issue-39448.rs
issue-39448.stderr
issue-39618.rs
issue-39618.stderr
issue-40582.rs
issue-43037.current.stderr
issue-43037.negative.stderr
issue-43037.rs
issue-44861.rs
issue-44861.stderr
issue-45814.current.stderr
issue-45814.negative.stderr
issue-45814.rs
issue-50452-fail.rs
issue-50452-fail.stderr
issue-50452.rs
issue-50452.stderr
issue-51892.rs
issue-51892.stderr
issue-52050.rs
issue-52050.stderr
issue-59435.rs
issue-59435.stderr
issue-63716-parse-async.rs
issue-63716-parse-async.stderr
issue-68830-spurious-diagnostics.rs
issue-68830-spurious-diagnostics.stderr
issue-70442.rs
issue-70442.stderr
issue-111232.rs
issue-111232.stderr
non-defaulted-item-fail.rs
non-defaulted-item-fail.stderr
README-rpass.md
README.md
specialization-allowed-cross-crate.rs
specialization-allowed-cross-crate.stderr
specialization-assoc-fns.rs
specialization-assoc-fns.stderr
specialization-basics.rs
specialization-basics.stderr
specialization-cross-crate-no-gate.rs
specialization-cross-crate.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
specialization-cross-crate.stderr
specialization-default-items-drop-coherence.coherence.stderr
specialization-default-items-drop-coherence.next.stderr
specialization-default-items-drop-coherence.rs
specialization-default-methods.rs
specialization-default-methods.stderr
specialization-default-projection.rs
specialization-default-projection.stderr
specialization-default-types.rs
specialization-default-types.stderr
specialization-feature-gate-default.rs
specialization-feature-gate-default.stderr Bless tests 2024-01-13 12:46:58 -05:00
specialization-feature-gate-overlap.rs
specialization-feature-gate-overlap.stderr
specialization-no-default.rs
specialization-no-default.stderr
specialization-on-projection.rs
specialization-on-projection.stderr
specialization-out-of-order.rs
specialization-out-of-order.stderr
specialization-overlap-hygiene.rs
specialization-overlap-hygiene.stderr
specialization-overlap-negative.rs
specialization-overlap-negative.stderr
specialization-overlap-projection.rs
specialization-overlap-projection.stderr
specialization-overlap.rs
specialization-overlap.stderr
specialization-polarity.rs
specialization-polarity.stderr
specialization-projection-alias.rs
specialization-projection-alias.stderr
specialization-projection.rs
specialization-projection.stderr
specialization-supertraits.rs
specialization-supertraits.stderr
specialization-translate-projections-with-lifetimes.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
specialization-translate-projections-with-lifetimes.stderr
specialization-translate-projections-with-params.rs
specialization-translate-projections-with-params.stderr
specialization-translate-projections.rs
specialization-translate-projections.stderr
transmute-specialization.rs
transmute-specialization.stderr

This directory contains the test for incorrect usage of specialization that should lead to compile failure. Those tests break down into a few categories: