rust/tests/ui/traits/negative-bounds
Esteban Küber 049c32797b On E0277, point at type that doesn't implement bound
When encountering an unmet trait bound, point at local type that doesn't implement the trait:

```
error[E0277]: the trait bound `Bar<T>: Foo` is not satisfied
  --> $DIR/issue-64855.rs:9:19
   |
LL | pub struct Bar<T>(<Self as Foo>::Type) where Self: ;
   |                   ^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
   |
help: the trait `Foo` is not implemented for `Bar<T>`
  --> $DIR/issue-64855.rs:9:1
   |
LL | pub struct Bar<T>(<Self as Foo>::Type) where Self: ;
   | ^^^^^^^^^^^^^^^^^
```
2025-08-22 17:55:15 +00:00
..
associated-constraints.rs Stabilize associated type bounds 2024-03-08 20:56:25 +00:00
associated-constraints.stderr Deny parenthetical notation for negative bounds 2023-12-28 00:50:16 +01:00
negative-metasized.current.stderr Do not consider a T: !Sized candidate to satisfy a T: !MetaSized obligation. 2025-08-17 13:37:32 -05:00
negative-metasized.next.stderr Do not consider a T: !Sized candidate to satisfy a T: !MetaSized obligation. 2025-08-17 13:37:32 -05:00
negative-metasized.rs Do not consider a T: !Sized candidate to satisfy a T: !MetaSized obligation. 2025-08-17 13:37:32 -05:00
negative-sized.rs Consider polarity in sizedness fast path 2025-07-02 00:37:40 +00:00
negative-sized.stderr Consider polarity in sizedness fast path 2025-07-02 00:37:40 +00:00
on-unimplemented.rs Add reference annotations for diagnostic attributes 2024-11-18 10:45:26 -08:00
on-unimplemented.stderr On E0277, point at type that doesn't implement bound 2025-08-22 17:55:15 +00:00
opaque-type-unsatisfied-bound.rs Apply nested goals certainty to InspectGoals for normalizes-to 2025-06-09 17:02:09 +00:00
opaque-type-unsatisfied-bound.stderr Apply nested goals certainty to InspectGoals for normalizes-to 2025-06-09 17:02:09 +00:00
opaque-type-unsatisfied-fn-bound.rs Apply nested goals certainty to InspectGoals for normalizes-to 2025-06-09 17:02:09 +00:00
opaque-type-unsatisfied-fn-bound.stderr Apply nested goals certainty to InspectGoals for normalizes-to 2025-06-09 17:02:09 +00:00
simple.rs Make feature negative_bounds internal 2023-12-28 00:43:35 +01:00
simple.stderr On E0277, point at type that doesn't implement bound 2025-08-22 17:55:15 +00:00
supertrait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00