about summary refs log tree commit diff
path: root/compiler/rustc_expand/src
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-08-22 22:00:52 -0400
committerGitHub <noreply@github.com>2025-08-22 22:00:52 -0400
commit15eeddee1f5a6ae523ef9aa74f0a50169a137e08 (patch)
tree7f005b0630331bd54c3ac558c329fedc070e2959 /compiler/rustc_expand/src
parent6991786d5ebba0f917a09fb5d5f1c4a166089163 (diff)
parent049c32797b5f797d5823cdc0e5aaeb0fd68175da (diff)
downloadrust-15eeddee1f5a6ae523ef9aa74f0a50169a137e08.tar.gz
rust-15eeddee1f5a6ae523ef9aa74f0a50169a137e08.zip
Rollup merge of #145641 - estebank:point-at-type-in-e0277, r=davidtwco
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: ;
   | ^^^^^^^^^^^^^^^^^
```
Diffstat (limited to 'compiler/rustc_expand/src')
0 files changed, 0 insertions, 0 deletions