Point at call span that introduced obligation for the arg
This commit is contained in:
parent
8a3f712518
commit
569a842730
94 changed files with 668 additions and 250 deletions
|
@ -10,7 +10,9 @@ error[E0277]: the trait bound `NoClone: Copy` is not satisfied
|
|||
--> $DIR/supertrait-auto-trait.rs:16:23
|
||||
|
|
||||
LL | let (a, b) = copy(NoClone);
|
||||
| ^^^^^^^ the trait `Copy` is not implemented for `NoClone`
|
||||
| ---- ^^^^^^^ the trait `Copy` is not implemented for `NoClone`
|
||||
| |
|
||||
| required by a bound introduced by this call
|
||||
|
|
||||
= note: required because of the requirements on the impl of `Magic` for `NoClone`
|
||||
note: required by a bound in `copy`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue