rust/tests/ui/coherence
Esteban Küber 7d4d09eeeb Shorten span of panic failures in const context
Previously, we included a redundant prefix on the panic message and a postfix of the location of the panic. The prefix didn't carry any additional information beyond "something failed", and the location of the panic is redundant with the diagnostic's span, which gets printed out even if its code is not shown.

```
error[E0080]: evaluation of constant value failed
  --> $DIR/assert-type-intrinsics.rs:11:9
   |
LL |         MaybeUninit::<!>::uninit().assume_init();
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation panicked: aborted execution: attempted to instantiate uninhabited type `!`
```

```
error[E0080]: evaluation of `Fail::<i32>::C` failed
  --> $DIR/collect-in-dead-closure.rs:9:19
   |
LL |     const C: () = panic!();
   |                   ^^^^^^^^ evaluation panicked: explicit panic
   |
   = note: this error originates in the macro
`$crate::panic::panic_2015` which comes from the expansion of the macro
`panic` (in Nightly builds, run with -Z macro-backtrace for more info)
```

```
error[E0080]: evaluation of constant value failed
  --> $DIR/uninhabited.rs:41:9
   |
LL |         assert!(false);
   |         ^^^^^^^^^^^^^^ evaluation panicked: assertion failed: false
   |
   = note: this error originates in the macro `assert` (in Nightly builds, run with -Z macro-backtrace for more info)
```

---

When the primary span for a const error is the same as the first frame in the const error report, skip it.

```
error[E0080]: evaluation of constant value failed
  --> $DIR/issue-88434-removal-index-should-be-less.rs:3:24
   |
LL | const _CONST: &[u8] = &f(&[], |_| {});
   |                        ^^^^^^^^^^^^^^ evaluation panicked: explicit panic
   |
note: inside `f::<{closure@$DIR/issue-88434-removal-index-should-be-less.rs:3:31: 3:34}>`
  --> $DIR/issue-88434-removal-index-should-be-less.rs:10:5
   |
LL |     panic!()
   |     ^^^^^^^^ the failure occurred here
   = note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
```
instead of
```
error[E0080]: evaluation of constant value failed
  --> $DIR/issue-88434-removal-index-should-be-less.rs:10:5
   |
LL |     panic!()
   |     ^^^^^^^^ explicit panic
   |
note: inside `f::<{closure@$DIR/issue-88434-removal-index-should-be-less.rs:3:31: 3:34}>`
  --> $DIR/issue-88434-removal-index-should-be-less.rs:10:5
   |
LL |     panic!()
   |     ^^^^^^^^
note: inside `_CONST`
  --> $DIR/issue-88434-removal-index-should-be-less.rs:3:24
   |
LL | const _CONST: &[u8] = &f(&[], |_| {});
   |                        ^^^^^^^^^^^^^^
   = note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
```

---

Revert order of constant evaluation errors

Point at the code the user wrote first and std functions last.

```
error[E0080]: evaluation of constant value failed
  --> $DIR/const-errs-dont-conflict-103369.rs:5:25
   |
LL | impl ConstGenericTrait<{my_fn(1)}> for () {}
   |                         ^^^^^^^^ evaluation panicked: Some error occurred
   |
note: called from `my_fn`
  --> $DIR/const-errs-dont-conflict-103369.rs:10:5
   |
LL |     panic!("Some error occurred");
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   = note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
```
instead of
```
error[E0080]: evaluation of constant value failed
  --> $DIR/const-errs-dont-conflict-103369.rs:10:5
   |
LL |     panic!("Some error occurred");
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Some error occurred
   |
note: called from `<() as ConstGenericTrait<{my_fn(1)}>>::{constant#0}`
  --> $DIR/const-errs-dont-conflict-103369.rs:5:25
   |
LL | impl ConstGenericTrait<{my_fn(1)}> for () {}
   |                         ^^^^^^^^
   = note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
```
2025-02-28 16:28:41 +00:00
..
auxiliary Add tests cases from review of #132289 2025-01-09 21:43:25 +01:00
fuzzing reword trait bound suggestion message to include the bounds 2024-12-07 21:26:20 +00:00
negative-coherence Re-enable ConstArgKind::Path lowering by default 2024-09-12 13:56:01 -04:00
occurs-check avoid running the overlap check twice 2025-01-15 09:58:04 +01:00
super-traits remove unnecessary revisions 2024-10-15 13:26:59 +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 Make new information notes instead of labels 2024-09-26 17:17:11 +00: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 Make new information notes instead of labels 2024-09-26 17:17:11 +00: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 tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08: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 tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08: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 tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08: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-conflicting-repeated-negative-trait-impl-70849.rs (fix) conflicting negative impl marker and add tests 2024-09-14 09:25:06 +08:00
coherence-conflicting-repeated-negative-trait-impl-70849.stderr (fix) conflicting negative impl marker and add tests 2024-09-14 09:25:06 +08:00
coherence-covered-type-parameter.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
coherence-cow.re_a.stderr Make new information notes instead of labels 2024-09-26 17:17:11 +00:00
coherence-cow.re_b.stderr Make new information notes instead of labels 2024-09-26 17:17:11 +00:00
coherence-cow.re_c.stderr Make new information notes instead of labels 2024-09-26 17:17:11 +00: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 Make new information notes instead of labels 2024-09-26 17:17:11 +00: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 Make new information notes instead of labels 2024-09-26 17:17:11 +00: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 Make new information notes instead of labels 2024-09-26 17:17:11 +00:00
coherence-impl-trait-for-trait-dyn-compatible.rs UI tests: Rename "object safe" to "dyn compatible" 2024-10-10 01:13:29 +02:00
coherence-impl-trait-for-trait-dyn-compatible.stderr Compiler: Finalize dyn compatibility renaming 2025-01-26 21:20:31 +01:00
coherence-impl-trait-for-trait.rs
coherence-impl-trait-for-trait.stderr
coherence-impls-copy.rs
coherence-impls-copy.stderr Make new information notes instead of labels 2024-09-26 17:17:11 +00:00
coherence-impls-send.rs
coherence-impls-send.stderr Make new information notes instead of labels 2024-09-26 17:17:11 +00:00
coherence-impls-sized.rs
coherence-impls-sized.stderr Make new information notes instead of labels 2024-09-26 17:17:11 +00:00
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 tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
coherence-iterator-vec.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08: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 tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
coherence-negative-impls-copy-bad.rs
coherence-negative-impls-copy-bad.stderr Make new information notes instead of labels 2024-09-26 17:17:11 +00:00
coherence-negative-impls-copy.rs Update tests. 2025-01-07 16:04:14 +01:00
coherence-negative-impls-safe-rpass.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08: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 stabilize -Znext-solver=coherence 2024-10-15 13:11:00 +02:00
coherence-negative-outlives-lifetimes.with_negative_coherence.stderr stabilize -Znext-solver=coherence 2024-10-15 13:11:00 +02: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 Make new information notes instead of labels 2024-09-26 17:17:11 +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.rs remove unnecessary revisions 2024-10-15 13:26:59 +02:00
coherence-overlap-downstream-inherent.stderr remove unnecessary revisions 2024-10-15 13:26:59 +02:00
coherence-overlap-downstream.rs remove unnecessary revisions 2024-10-15 13:26:59 +02:00
coherence-overlap-downstream.stderr remove unnecessary revisions 2024-10-15 13:26:59 +02:00
coherence-overlap-issue-23516-inherent.rs remove unnecessary revisions 2024-10-15 13:26:59 +02:00
coherence-overlap-issue-23516-inherent.stderr remove unnecessary revisions 2024-10-15 13:26:59 +02:00
coherence-overlap-issue-23516.rs remove unnecessary revisions 2024-10-15 13:26:59 +02:00
coherence-overlap-issue-23516.stderr remove unnecessary revisions 2024-10-15 13:26:59 +02: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 stabilize -Znext-solver=coherence 2024-10-15 13:11:00 +02: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.rs remove unnecessary revisions 2024-10-15 13:26:59 +02:00
coherence-overlap-unnormalizable-projection-0.stderr remove unnecessary revisions 2024-10-15 13:26:59 +02:00
coherence-overlap-unnormalizable-projection-1.rs remove unnecessary revisions 2024-10-15 13:26:59 +02:00
coherence-overlap-unnormalizable-projection-1.stderr remove unnecessary revisions 2024-10-15 13:26:59 +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 Make new information notes instead of labels 2024-09-26 17:17:11 +00: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 Make new information notes instead of labels 2024-09-26 17:17:11 +00: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 Make new information notes instead of labels 2024-09-26 17:17:11 +00: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-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 Make new information notes instead of labels 2024-09-26 17:17:11 +00: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 Make new information notes instead of labels 2024-09-26 17:17:11 +00: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 remove unnecessary revisions 2024-10-15 13:26:59 +02:00
conflicting-impl-with-err.rs
conflicting-impl-with-err.stderr Reword "crate not found" resolve message 2025-01-24 01:19:50 +00:00
const-errs-dont-conflict-103369.rs Shorten span of panic failures in const context 2025-02-28 16:28:41 +00:00
const-errs-dont-conflict-103369.stderr Shorten span of panic failures in const context 2025-02-28 16:28:41 +00: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 Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +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 Make new information notes instead of labels 2024-09-26 17:17:11 +00: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 Make new information notes instead of labels 2024-09-26 17:17:11 +00:00
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 Make new information notes instead of labels 2024-09-26 17:17:11 +00:00
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 Make new information notes instead of labels 2024-09-26 17:17:11 +00: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 Make new information notes instead of labels 2024-09-26 17:17:11 +00:00
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 Make new information notes instead of labels 2024-09-26 17:17:11 +00:00
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 remove unnecessary revisions 2024-10-15 13:26:59 +02:00
incoherent-even-though-we-fulfill.stderr remove unnecessary revisions 2024-10-15 13:26:59 +02: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.rs remove unnecessary revisions 2024-10-15 13:26:59 +02:00
inter-crate-ambiguity-causes-notes.stderr remove unnecessary revisions 2024-10-15 13:26:59 +02: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 stabilize -Znext-solver=coherence 2024-10-15 13:11:00 +02:00
negative-coherence-considering-regions.any_lt.stderr stabilize -Znext-solver=coherence 2024-10-15 13:11:00 +02: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 stabilize -Znext-solver=coherence 2024-10-15 13:11:00 +02: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.rs stabilize -Znext-solver=coherence 2024-10-15 13:11:00 +02:00
normalize-for-errors.stderr stabilize -Znext-solver=coherence 2024-10-15 13:11:00 +02:00
orphan-check-alias.classic.stderr Cleanup some known-bug issues 2024-09-27 18:15:37 +00:00
orphan-check-alias.next.stderr Cleanup some known-bug issues 2024-09-27 18:15:37 +00:00
orphan-check-alias.rs Cleanup some known-bug issues 2024-09-27 18:15:37 +00: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.rs remove unnecessary revisions 2024-10-15 13:26:59 +02:00
orphan-check-opaque-types-not-covering.stderr remove unnecessary revisions 2024-10-15 13:26:59 +02:00
orphan-check-projections-covering.rs remove unnecessary revisions 2024-10-15 13:26:59 +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.rs remove unnecessary revisions 2024-10-15 13:26:59 +02:00
orphan-check-weak-aliases-not-covering.stderr remove unnecessary revisions 2024-10-15 13:26:59 +02:00
pr-review-132289-1.rs Add tests cases from review of #132289 2025-01-09 21:43:25 +01:00
pr-review-132289-2.rs Add tests cases from review of #132289 2025-01-09 21:43:25 +01:00
pr-review-132289-3.rs Add tests cases from review of #132289 2025-01-09 21:43:25 +01:00
pr-review-132289-3.run.stdout Add tests cases from review of #132289 2025-01-09 21:43:25 +01: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 Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix" 2024-08-03 07:57:31 -04:00
skip-reporting-if-references-err.rs stabilize -Znext-solver=coherence 2024-10-15 13:11:00 +02:00
skip-reporting-if-references-err.stderr stabilize -Znext-solver=coherence 2024-10-15 13:11:00 +02: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