rust/tests/ui/traits/negative-impls
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
..
auxiliary
ambiguity-cause.negative_coherence.stderr Make sure we note ambiguity causes on positive/negative impl conflicts 2024-12-22 02:04:14 +00:00
ambiguity-cause.rs Make sure we note ambiguity causes on positive/negative impl conflicts 2024-12-22 02:04:14 +00:00
ambiguity-cause.simple.stderr Make sure we note ambiguity causes on positive/negative impl conflicts 2024-12-22 02:04:14 +00:00
eager-mono.rs
explicitly-unimplemented-error-message.rs
explicitly-unimplemented-error-message.stderr
feature-gate-negative_impls.rs Begin to implement type system layer of unsafe binders 2024-12-22 21:57:57 +00:00
feature-gate-negative_impls.stderr Begin to implement type system layer of unsafe binders 2024-12-22 21:57:57 +00:00
negated-auto-traits-error.rs
negated-auto-traits-error.stderr On E0277, point at type that doesn't implement bound 2025-08-22 17:55:15 +00:00
negated-auto-traits-rpass.rs
negated-auto-traits-validity-error.rs Make rustdoc tests use always applicable negative auto impls 2025-03-04 18:04:07 +00:00
negated-auto-traits-validity-error.stderr Make rustdoc tests use always applicable negative auto impls 2025-03-04 18:04:07 +00:00
negated-auto-traits-validity.rs Make rustdoc tests use always applicable negative auto impls 2025-03-04 18:04:07 +00:00
negative-default-impls.rs
negative-default-impls.stderr
negative-impl-normalizes-to.rs
negative-impls-basic.rs
negative-specializes-negative.rs
negative-specializes-negative.stderr
negative-specializes-positive-item.rs
negative-specializes-positive-item.stderr
negative-specializes-positive.rs
negative-specializes-positive.stderr
no-items.rs
no-items.stderr
pin-unsound-issue-66544-clone.rs
pin-unsound-issue-66544-clone.stderr
pin-unsound-issue-66544-derefmut.rs
pin-unsound-issue-66544-derefmut.stderr
positive-specializes-negative.rs
positive-specializes-negative.stderr
rely-on-negative-impl-in-coherence.rs