2021-09-02 21:20:51 +01:00
|
|
|
error: unconstrained generic constant
|
2024-03-21 00:03:59 +00:00
|
|
|
--> $DIR/issue-84659.rs:9:15
|
2021-09-02 21:20:51 +01:00
|
|
|
|
|
|
|
|
|
LL | type Baz: Bar<{ Self::N }>;
|
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
2024-03-21 00:03:59 +00:00
|
|
|
help: try adding a `where` bound
|
|
|
|
|
|
|
|
|
|
|
LL | type Baz: Bar<{ Self::N }> where [(); { Self::N }]:;
|
|
|
|
|
| ++++++++++++++++++++++++
|
2021-09-02 21:20:51 +01:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2021-09-02 21:20:51 +01:00
|
|
|
|