summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/generic_const_exprs/assoc_const_unification/doesnt_unify_evaluatable.stderr
blob: e4a0cabe57284ce657ff907fdf527589a991348d (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 previous error