mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-03 17:35:28 +03:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
11 lines
282 B
Plaintext
11 lines
282 B
Plaintext
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 1 previous error
|
|
|