This commit disables polymorphisation to resolve regressions related to closures which inherit unused generic parameters and are then used in casts or reflection. Signed-off-by: David Wood <david@davidtw.co>
8 lines
181 B
Text
8 lines
181 B
Text
error: item has unused generic parameters
|
|
--> $DIR/predicates.rs:9:4
|
|
|
|
|
LL | fn bar<I>() {
|
|
| ^^^ - generic parameter `I` is unused
|
|
|
|
error: aborting due to previous error
|
|
|