summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/new-solver/normalizes_to_ignores_unnormalizable_candidate.self_infer.stderr
blob: 06283201261042a14e48ab314412fb75787c45a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0282]: type annotations needed
  --> $DIR/normalizes_to_ignores_unnormalizable_candidate.rs:36:5
   |
LL |     foo(unconstrained())
   |     ^^^ cannot infer type of the type parameter `T` declared on the function `foo`
   |
help: consider specifying the generic argument
   |
LL |     foo::<T>(unconstrained())
   |        +++++

error: aborting due to previous error

For more information about this error, try `rustc --explain E0282`.