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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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