summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/generic_const_exprs/assoc_const_unification/doesnt_unify_evaluatable.stderr
blob: a8657bf5263a84fd2fcccef78e6e1bd1aae02b36 (plain)
1
2
3
4
5
6
7
8
9
10
error: unconstrained generic constant
  --> $DIR/doesnt_unify_evaluatable.rs:9:11
   |
LL |     bar::<{ T::ASSOC }>();
   |           ^^^^^^^^^^^^
   |
   = help: try adding a `where` bound using this expression: `where [(); { T::ASSOC }]:`

error: aborting due to 1 previous error