sess: disable polymorphisation
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>
This commit is contained in:
parent
90e941a974
commit
f39ed207fe
23 changed files with 46 additions and 35 deletions
|
@ -1,4 +1,5 @@
|
|||
// build-fail
|
||||
// compile-flags:-Zpolymorphize=on
|
||||
#![feature(const_generics, rustc_attrs)]
|
||||
//~^ WARN the feature `const_generics` is incomplete
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue