rust/tests/ui/coherence
Matthias Krüger ae92125a75
Rollup merge of #127574 - lcnr:coherence-check-supertrait, r=compiler-errors
elaborate unknowable goals

A reimplemented version of #124532 affecting only the new solver. Always trying to prove super traits ends up causing a fatal overflow error in diesel, so we cannot land this in the old solver.

The following test currently does not pass coherence:
```rust
trait Super {}
trait Sub<T>: Super {}

trait Overlap<T> {}
impl<T, U: Sub<T>> Overlap<T> for U {}
impl<T> Overlap<T> for () {}

fn main() {}
```

We check whether `(): Sub<?t>` holds. This stalls with ambiguity as downstream crates may add an impl for `(): Sub<Local>`. However, its super trait bound `(): Super` cannot be implemented downstream, so this one is known not to hold.

By trying to prove that all the super bounds of a trait before adding a coherence unknowable candidate, this compiles. This is necessary to prevent breakage from enabling `-Znext-solver=coherence` (#121848), see tests/ui/coherence/super-traits/super-trait-knowable-2.rs for more details. The idea is that while there may be an impl of the trait itself we don't know about, if we're able to prove that a super trait is definitely not implemented, then that impl would also never apply/not be well-formed.

This approach is different from #124532 as it allows tests/ui/coherence/super-traits/super-trait-knowable-3.rs to compile. The approach in #124532 only elaborating the root obligations while this approach tries it for all unknowable trait goals.

r? `@compiler-errors`
2024-07-30 04:31:54 +02:00
..
auxiliary Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
negative-coherence Auto merge of #127722 - BoxyUwU:new_adt_const_params_limitations, r=compiler-errors 2024-07-21 05:36:21 +00:00
occurs-check rustc_type_ir: derivative -> derive-where 2024-07-12 21:52:04 +03:00
super-traits elaborate unknowable goals 2024-07-10 16:16:48 +02:00
associated-type2.rs Fix typos (taking into account review comments) 2024-05-18 18:12:18 +02:00
associated-type2.stderr Stop bailing out from compilation just because there were incoherent traits 2024-02-05 10:17:31 +00:00
coherence_copy_like_err_fundamental_struct_ref.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence_copy_like_err_fundamental_struct_tuple.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence_copy_like_err_fundamental_struct_tuple.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence_copy_like_err_fundamental_struct.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence_copy_like_err_struct.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence_copy_like_err_struct.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence_copy_like_err_tuple.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence_copy_like_err_tuple.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence_copy_like.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence_inherent_cc.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence_inherent_cc.stderr Tweak wording of "implemented trait isn't imported" suggestion 2024-02-22 18:05:27 +00:00
coherence_inherent.rs
coherence_inherent.stderr Tweak wording of "implemented trait isn't imported" suggestion 2024-02-22 18:05:27 +00:00
coherence_local_err_struct.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence_local_err_struct.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence_local_err_tuple.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence_local_err_tuple.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence_local_ref.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence_local.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-all-remote.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-all-remote.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-bigint-int.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-bigint-param.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-bigint-param.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-bigint-vecint.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-blanket-conflicts-with-blanket-implemented.rs
coherence-blanket-conflicts-with-blanket-implemented.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-blanket-conflicts-with-blanket-unimplemented.rs
coherence-blanket-conflicts-with-blanket-unimplemented.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-blanket-conflicts-with-specific-cross-crate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-blanket-conflicts-with-specific-cross-crate.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-blanket-conflicts-with-specific-multidispatch.rs Silence some follow-up errors on trait impls in case the trait has conflicting or otherwise incoherent impls 2024-04-09 10:23:58 +00:00
coherence-blanket-conflicts-with-specific-multidispatch.stderr Silence some follow-up errors on trait impls in case the trait has conflicting or otherwise incoherent impls 2024-04-09 10:23:58 +00:00
coherence-blanket-conflicts-with-specific-trait.rs
coherence-blanket-conflicts-with-specific-trait.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-blanket-conflicts-with-specific.rs
coherence-blanket-conflicts-with-specific.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-blanket.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-conflicting-negative-trait-impl.rs Remove suspicious auto trait lint 2024-02-19 17:41:48 -03:00
coherence-conflicting-negative-trait-impl.stderr Remove suspicious auto trait lint 2024-02-19 17:41:48 -03:00
coherence-covered-type-parameter.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-cow.re_a.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-cow.re_b.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-cow.re_c.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-cow.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-cross-crate-conflict.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-cross-crate-conflict.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-default-trait-impl.rs
coherence-default-trait-impl.stderr
coherence-doesnt-use-infcx-evaluate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-doesnt-use-infcx-evaluate.stderr Don't call predicate_must_hold during fulfillment in intercrate 2023-07-16 01:56:16 +00:00
coherence-error-suppression.rs
coherence-error-suppression.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-fn-covariant-bound-vs-static.rs Make infer higher ranked equate use bidirectional subtyping in invariant context 2024-02-29 15:27:56 -03:00
coherence-fn-covariant-bound-vs-static.stderr Make infer higher ranked equate use bidirectional subtyping in invariant context 2024-02-29 15:27:56 -03:00
coherence-fn-implied-bounds.rs Change leak check lint message to behavior is likely to change in the future 2024-02-18 19:16:17 -03:00
coherence-fn-implied-bounds.stderr Change leak check lint message to behavior is likely to change in the future 2024-02-18 19:16:17 -03:00
coherence-fn-inputs.rs Make infer higher ranked equate use bidirectional subtyping in invariant context 2024-02-29 15:27:56 -03:00
coherence-fn-inputs.stderr Make infer higher ranked equate use bidirectional subtyping in invariant context 2024-02-29 15:27:56 -03:00
coherence-free-vs-bound-region.rs Change leak check lint message to behavior is likely to change in the future 2024-02-18 19:16:17 -03:00
coherence-free-vs-bound-region.stderr Change leak check lint message to behavior is likely to change in the future 2024-02-18 19:16:17 -03:00
coherence-fundamental-trait-objects.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-fundamental-trait-objects.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-impl-in-fn.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-impl-trait-for-marker-trait-negative.rs Disallow impl autotrait for trait object 2023-02-03 08:33:40 -08:00
coherence-impl-trait-for-marker-trait-negative.stderr Disallow impl autotrait for trait object 2023-02-03 08:33:40 -08:00
coherence-impl-trait-for-marker-trait-positive.rs Disallow impl autotrait for trait object 2023-02-03 08:33:40 -08:00
coherence-impl-trait-for-marker-trait-positive.stderr Disallow impl autotrait for trait object 2023-02-03 08:33:40 -08:00
coherence-impl-trait-for-trait-object-safe.rs Work around the fact that check_mod_type_wf may spuriously return ErrorGuaranteed, even if that error is only emitted by check_modwitem_types 2023-10-25 12:04:54 +00:00
coherence-impl-trait-for-trait-object-safe.stderr Work around the fact that check_mod_type_wf may spuriously return ErrorGuaranteed, even if that error is only emitted by check_modwitem_types 2023-10-25 12:04:54 +00:00
coherence-impl-trait-for-trait.rs
coherence-impl-trait-for-trait.stderr
coherence-impls-copy.rs
coherence-impls-copy.stderr Only compute specializes query if specialization is enabled in the crate of the specialized impl 2024-06-07 15:58:50 -04:00
coherence-impls-send.rs
coherence-impls-send.stderr
coherence-impls-sized.rs
coherence-impls-sized.stderr
coherence-inherited-assoc-ty-cycle-err.rs
coherence-inherited-assoc-ty-cycle-err.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-inherited-subtyping.rs remove unused revision 2023-05-30 12:40:35 +02:00
coherence-inherited-subtyping.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-iterator-vec-any-elem.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-iterator-vec.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-lone-type-parameter.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-lone-type-parameter.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-multidispatch-tuple.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-negative-impls-copy-bad.rs
coherence-negative-impls-copy-bad.stderr
coherence-negative-impls-copy.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-negative-impls-safe-rpass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-negative-impls-safe.rs
coherence-negative-impls-safe.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-negative-inherent-where-bounds.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-negative-inherent.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-negative-outlives-lifetimes.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-negative-outlives-lifetimes.stock.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-negative-outlives-lifetimes.with_negative_coherence.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-no-direct-lifetime-dispatch.rs
coherence-no-direct-lifetime-dispatch.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-orphan.rs Silence some follow-up errors on trait impls in case the trait has conflicting or otherwise incoherent impls 2024-04-09 10:23:58 +00:00
coherence-orphan.stderr Silence some follow-up errors on trait impls in case the trait has conflicting or otherwise incoherent impls 2024-04-09 10:23:58 +00:00
coherence-overlap-all-t-and-tuple.rs
coherence-overlap-all-t-and-tuple.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-overlap-double-negative.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-overlap-downstream-inherent.next.stderr update tests 2023-09-21 08:17:58 +02:00
coherence-overlap-downstream-inherent.old.stderr update tests 2023-09-21 08:17:58 +02:00
coherence-overlap-downstream-inherent.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-overlap-downstream.next.stderr Extend impl's def_span to include where clauses 2023-10-09 11:47:02 +00:00
coherence-overlap-downstream.old.stderr Extend impl's def_span to include where clauses 2023-10-09 11:47:02 +00:00
coherence-overlap-downstream.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-overlap-issue-23516-inherent.next.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-overlap-issue-23516-inherent.old.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-overlap-issue-23516-inherent.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-overlap-issue-23516.next.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-overlap-issue-23516.old.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-overlap-issue-23516.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-overlap-messages.rs
coherence-overlap-messages.stderr
coherence-overlap-negate-alias-strict.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-overlap-negate-not-use-feature-gate.rs
coherence-overlap-negate-not-use-feature-gate.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-overlap-negate-strict.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-overlap-negate-use-feature-gate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-overlap-negative-impls.rs Remove suspicious auto trait lint 2024-02-19 17:41:48 -03:00
coherence-overlap-negative-trait2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-overlap-negative-trait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-overlap-super-negative.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-overlap-trait-alias.rs Make things work by using the new solver 2023-10-23 23:35:27 +00:00
coherence-overlap-trait-alias.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-overlap-unnormalizable-projection-0.classic.stderr Normalize trait ref before orphan check & consider ty params in alias types to be uncovered 2024-04-30 21:54:54 +02:00
coherence-overlap-unnormalizable-projection-0.next.stderr Normalize trait ref before orphan check & consider ty params in alias types to be uncovered 2024-04-30 21:54:54 +02:00
coherence-overlap-unnormalizable-projection-0.rs Normalize trait ref before orphan check & consider ty params in alias types to be uncovered 2024-04-30 21:54:54 +02:00
coherence-overlap-unnormalizable-projection-1.classic.stderr Normalize trait ref before orphan check & consider ty params in alias types to be uncovered 2024-04-30 21:54:54 +02:00
coherence-overlap-unnormalizable-projection-1.next.stderr eagerly normalize when adding goals 2024-05-28 04:54:05 +00:00
coherence-overlap-unnormalizable-projection-1.rs Normalize trait ref before orphan check & consider ty params in alias types to be uncovered 2024-04-30 21:54:54 +02:00
coherence-overlap-upstream-inherent.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-overlap-upstream-inherent.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-overlap-upstream.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-overlap-upstream.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-overlap-with-regions.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-overlapping-pairs.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-overlapping-pairs.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-pair-covered-uncovered-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-pair-covered-uncovered-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-pair-covered-uncovered.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-pair-covered-uncovered.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-projection-conflict-orphan.rs
coherence-projection-conflict-orphan.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-projection-conflict-ty-param.rs
coherence-projection-conflict-ty-param.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-projection-conflict.rs
coherence-projection-conflict.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-projection-ok-orphan.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-projection-ok.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-rfc447-constrained.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-subtyping.rs Change leak check lint message to behavior is likely to change in the future 2024-02-18 19:16:17 -03:00
coherence-subtyping.stderr Change leak check lint message to behavior is likely to change in the future 2024-02-18 19:16:17 -03:00
coherence-tuple-conflict.rs Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
coherence-tuple-conflict.stderr Continue compilation after check_mod_type_wf errors 2024-02-14 11:00:30 +00:00
coherence-unsafe-trait-object-impl.rs
coherence-unsafe-trait-object-impl.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-vec-local-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-vec-local-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-vec-local.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-vec-local.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-wasm-bindgen.rs Change leak check lint message to behavior is likely to change in the future 2024-02-18 19:16:17 -03:00
coherence-wasm-bindgen.stderr Change leak check lint message to behavior is likely to change in the future 2024-02-18 19:16:17 -03:00
coherence-where-clause.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
coherence-with-closure.rs
coherence-with-closure.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
coherence-with-coroutine.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
coherence-with-coroutine.stock.stderr Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
coherent-due-to-fulfill.rs Use fulfillment in next trait solver coherence 2024-02-16 23:53:09 +00:00
conflicting-impl-with-err.rs
conflicting-impl-with-err.stderr
const-errs-dont-conflict-103369.rs regression test for #103369 2024-02-19 18:16:11 +01:00
const-errs-dont-conflict-103369.stderr regression test for #103369 2024-02-19 18:16:11 +01:00
const-generics-orphan-check-ok.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
deep-bad-copy-reason.rs Stop bailing out from compilation just because there were incoherent traits 2024-02-05 10:17:31 +00:00
deep-bad-copy-reason.stderr Stop bailing out from compilation just because there were incoherent traits 2024-02-05 10:17:31 +00:00
illegal-copy-bad-projection.rs Suppress copy impl error when post-normalized type references errors 2023-03-08 00:12:33 +00:00
illegal-copy-bad-projection.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
impl-foreign-for-foreign.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-foreign-for-foreign.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
impl-foreign-for-foreign[foreign].rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-foreign-for-foreign[foreign].stderr
impl-foreign-for-foreign[local].rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-foreign-for-fundamental[foreign].rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-foreign-for-fundamental[foreign].stderr
impl-foreign-for-fundamental[local].rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-foreign-for-local.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-foreign-for-locally-defined-fundamental.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-foreign-for-locally-defined-fundamental[foreign].rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-foreign[foreign]-for-foreign.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-foreign[foreign]-for-foreign.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
impl-foreign[foreign]-for-local.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-foreign[fundemental[foreign]]-for-foreign.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-foreign[fundemental[foreign]]-for-foreign.stderr
impl-foreign[fundemental[local]]-for-foreign.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl[t]-foreign-for-foreign[t].rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl[t]-foreign-for-foreign[t].stderr
impl[t]-foreign-for-fundamental[t].rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl[t]-foreign-for-fundamental[t].stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
impl[t]-foreign[foreign[t]_local]-for-foreign.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl[t]-foreign[foreign]-for-fundamental[t].rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl[t]-foreign[foreign]-for-fundamental[t].stderr
impl[t]-foreign[foreign]-for-t.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl[t]-foreign[foreign]-for-t.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
impl[t]-foreign[fundamental[t]_local]-for-foreign.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl[t]-foreign[fundamental[t]_local]-for-foreign.stderr
impl[t]-foreign[fundamental[t]]-for-foreign.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl[t]-foreign[fundamental[t]]-for-foreign.stderr
impl[t]-foreign[fundamental[t]]-for-fundamental[t].rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl[t]-foreign[fundamental[t]]-for-fundamental[t].stderr
impl[t]-foreign[fundamental[t]]-for-local.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl[t]-foreign[fundamental[t]]-for-t.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl[t]-foreign[fundamental[t]]-for-t.stderr
impl[t]-foreign[fundemental[local]]-for-foreign[t].rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl[t]-foreign[local_fundamental[t]]-for-foreign.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl[t]-foreign[local]-for-foreign.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl[t]-foreign[local]-for-foreign[t].rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl[t]-foreign[local]-for-fundamental[foreign[t]].rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl[t]-foreign[local]-for-fundamental[t].rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl[t]-foreign[local]-for-fundamental[t].stderr
impl[t]-foreign[local]-for-local.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl[t]-foreign[local]-for-t.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl[t]-foreign[local]-for-t.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
impl[t]-foreign[t]-for-foreign.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl[t]-foreign[t]-for-foreign.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
impl[t]-foreign[t]-for-fundamental.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl[t]-foreign[t]-for-fundamental.stderr
impl[t]-foreign[t]-for-local.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl[t]-foreign[t]-for-t.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl[t]-foreign[t]-for-t.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
incoherent-even-though-we-fulfill.rs Use fulfillment in next trait solver coherence 2024-02-16 23:53:09 +00:00
incoherent-even-though-we-fulfill.stderr Use fulfillment in next trait solver coherence 2024-02-16 23:53:09 +00:00
indirect-impl-for-trait-obj-coherence.next.stderr better error message for normalizes-to ambiguities 2024-06-12 19:03:37 -04:00
indirect-impl-for-trait-obj-coherence.rs better error message for normalizes-to ambiguities 2024-06-12 19:03:37 -04:00
inter-crate-ambiguity-causes-notes.next.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
inter-crate-ambiguity-causes-notes.old.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
inter-crate-ambiguity-causes-notes.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-85026.rs
issue-85026.stderr Tighter spans for bad inherent impl types 2023-02-13 18:41:18 +00:00
issue-99663-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-99663.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
negative-coherence-check-placeholder-outlives.rs Make regionck care about placeholders in outlives components 2023-11-19 19:12:20 +00:00
negative-coherence-check-placeholder-outlives.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
negative-coherence-considering-regions.any_lt.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
negative-coherence-considering-regions.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
negative-coherence-placeholder-region-constraints-on-unification.explicit.stderr Change leak check lint message to behavior is likely to change in the future 2024-02-18 19:16:17 -03:00
negative-coherence-placeholder-region-constraints-on-unification.rs Change leak check lint message to behavior is likely to change in the future 2024-02-18 19:16:17 -03:00
normalize-for-errors.current.stderr Ignore tests w/ current/next revisions from compare-mode=next-solver 2024-03-10 21:18:41 -04:00
normalize-for-errors.next.stderr elaborate unknowable goals 2024-07-10 16:16:48 +02:00
normalize-for-errors.rs elaborate unknowable goals 2024-07-10 16:16:48 +02:00
orphan-check-diagnostics.rs Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
orphan-check-diagnostics.stderr Move 100 entries from tests/ui into subdirs 2024-05-20 19:55:59 -07:00
orphan-check-opaque-types-not-covering.classic.stderr Orphanck: Consider opaque types to never cover type parameters 2024-06-04 18:57:19 +02:00
orphan-check-opaque-types-not-covering.next.stderr Orphanck: Consider opaque types to never cover type parameters 2024-06-04 18:57:19 +02:00
orphan-check-opaque-types-not-covering.rs Orphanck: Consider opaque types to never cover type parameters 2024-06-04 18:57:19 +02:00
orphan-check-projections-covering.rs Normalize trait ref before orphan check & consider ty params in alias types to be uncovered 2024-04-30 21:54:54 +02:00
orphan-check-projections-nested.rs Normalize trait ref before orphan check & consider ty params in alias types to be uncovered 2024-04-30 21:54:54 +02:00
orphan-check-projections-not-covering-ambiguity.classic.stderr Normalize trait ref before orphan check & consider ty params in alias types to be uncovered 2024-04-30 21:54:54 +02:00
orphan-check-projections-not-covering-ambiguity.next.stderr Normalize trait ref before orphan check & consider ty params in alias types to be uncovered 2024-04-30 21:54:54 +02:00
orphan-check-projections-not-covering-ambiguity.rs Normalize trait ref before orphan check & consider ty params in alias types to be uncovered 2024-04-30 21:54:54 +02:00
orphan-check-projections-not-covering-multiple-params.classic.stderr Normalize trait ref before orphan check & consider ty params in alias types to be uncovered 2024-04-30 21:54:54 +02:00
orphan-check-projections-not-covering-multiple-params.next.stderr Normalize trait ref before orphan check & consider ty params in alias types to be uncovered 2024-04-30 21:54:54 +02:00
orphan-check-projections-not-covering-multiple-params.rs Normalize trait ref before orphan check & consider ty params in alias types to be uncovered 2024-04-30 21:54:54 +02:00
orphan-check-projections-not-covering.classic.stderr Normalize trait ref before orphan check & consider ty params in alias types to be uncovered 2024-04-30 21:54:54 +02:00
orphan-check-projections-not-covering.next.stderr Normalize trait ref before orphan check & consider ty params in alias types to be uncovered 2024-04-30 21:54:54 +02:00
orphan-check-projections-not-covering.rs Normalize trait ref before orphan check & consider ty params in alias types to be uncovered 2024-04-30 21:54:54 +02:00
orphan-check-projections-unsat-bounds.classic.stderr Normalize trait ref before orphan check & consider ty params in alias types to be uncovered 2024-04-30 21:54:54 +02:00
orphan-check-projections-unsat-bounds.next.stderr Normalize trait ref before orphan check & consider ty params in alias types to be uncovered 2024-04-30 21:54:54 +02:00
orphan-check-projections-unsat-bounds.rs Normalize trait ref before orphan check & consider ty params in alias types to be uncovered 2024-04-30 21:54:54 +02:00
orphan-check-weak-aliases-covering.rs Normalize trait ref before orphan check & consider ty params in alias types to be uncovered 2024-04-30 21:54:54 +02:00
orphan-check-weak-aliases-not-covering.classic.stderr Normalize trait ref before orphan check & consider ty params in alias types to be uncovered 2024-04-30 21:54:54 +02:00
orphan-check-weak-aliases-not-covering.next.stderr Normalize trait ref before orphan check & consider ty params in alias types to be uncovered 2024-04-30 21:54:54 +02:00
orphan-check-weak-aliases-not-covering.rs Normalize trait ref before orphan check & consider ty params in alias types to be uncovered 2024-04-30 21:54:54 +02:00
re-rebalance-coherence-default-generic-associated-type.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
re-rebalance-coherence.rs Detect pub structs never constructed and unused associated constants in traits 2024-06-05 23:20:09 +08:00
skip-reporting-if-references-err.current.stderr Move check for error in impl header outside of reporting 2024-03-22 17:46:40 -04:00
skip-reporting-if-references-err.next.stderr Move check for error in impl header outside of reporting 2024-03-22 17:46:40 -04:00
skip-reporting-if-references-err.rs Move check for error in impl header outside of reporting 2024-03-22 17:46:40 -04:00
strict-coherence-needs-negative-coherence.rs
strict-coherence-needs-negative-coherence.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
warn-when-cycle-is-error-in-coherence.rs Make inductive cycles in coherence ambiguous always 2024-01-08 15:03:59 +00:00
warn-when-cycle-is-error-in-coherence.stderr Make inductive cycles in coherence ambiguous always 2024-01-08 15:03:59 +00:00