about summary refs log tree commit diff
path: root/tests/ui/const-generics/issues/issue-84659.stderr
blob: 82e80603c7f5c7170aa9c054a175c048f8c96b4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: unconstrained generic constant
  --> $DIR/issue-84659.rs:9:15
   |
LL |     type Baz: Bar<{ Self::N }>;
   |               ^^^^^^^^^^^^^^^^
   |
help: try adding a `where` bound
   |
LL |     type Baz: Bar<{ Self::N }> where [(); { Self::N }]:;
   |                                ++++++++++++++++++++++++

error: aborting due to 1 previous error