1
Fork 0

Point at call span that introduced obligation for the arg

This commit is contained in:
Esteban Kuber 2021-09-07 11:30:53 +00:00
parent 8a3f712518
commit 569a842730
94 changed files with 668 additions and 250 deletions

View file

@ -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`