summaryrefslogtreecommitdiffstats
path: root/src/test/ui/const-generics/issues/issue-84659.stderr
blob: 2dfc48a34e4b19d4a06e9bb9f63e94fafdf988b8 (plain)
1
2
3
4
5
6
7
8
9
10
error: unconstrained generic constant
  --> $DIR/issue-84659.rs:8:15
   |
LL |     type Baz: Bar<{ Self::N }>;
   |               ^^^^^^^^^^^^^^^^
   |
   = help: try adding a `where` bound using this expression: `where [(); { Self::N }]:`

error: aborting due to previous error