error: generic parameters must not be used inside of non trivial constant values | |
--> $DIR/issue-61935.rs:10:23 | |
| | |
LL | Self:FooImpl<{N==0}> | |
| ^ non-trivial anonymous constants must not depend on the parameter `N` | |
| | |
= help: it is currently only allowed to use either `N` or `{ N }` as generic constants | |
error: aborting due to previous error | |