1
Fork 0

Add print_trait_sugared

This commit is contained in:
Michael Goulet 2023-11-24 22:09:59 +00:00
parent 8a7b2035f8
commit b97ff8eb16
17 changed files with 91 additions and 56 deletions

View file

@ -55,7 +55,7 @@ error[E0283]: type annotations needed
LL | bfnr(x);
| ^^^^ cannot infer type of the type parameter `W` declared on the function `bfnr`
|
= note: multiple `impl`s satisfying `_: Fn<()>` found in the following crates: `alloc`, `core`:
= note: multiple `impl`s satisfying `_: Fn()` found in the following crates: `alloc`, `core`:
- impl<A, F> Fn<A> for &F
where A: Tuple, F: Fn<A>, F: ?Sized;
- impl<Args, F, A> Fn<Args> for Box<F, A>