rust/tests/ui/const-generics/issues/issue-84659.stderr

11 lines
280 B
Plaintext
Raw Normal View History

2021-09-02 15:20:51 -05:00
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