about summary refs log tree commit diff
path: root/src/test/codegen-units/polymorphization
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-07-22 19:34:20 +0000
committerbors <bors@rust-lang.org>2020-07-22 19:34:20 +0000
commitbbebe7351fcd29af1eb9a35e315369b15887ea09 (patch)
tree1188f2aaead69f89217acaf371bc24ac98a93c11 /src/test/codegen-units/polymorphization
parent9e92106d457abd14f82adc29e7f2496861e07916 (diff)
parent799d52eff7e96fc339327966b056ab89c061b255 (diff)
downloadrust-bbebe7351fcd29af1eb9a35e315369b15887ea09.tar.gz
rust-bbebe7351fcd29af1eb9a35e315369b15887ea09.zip
Auto merge of #74633 - davidtwco:issue-74614-disable-polymorphisation, r=wesleywiser
Disable polymorphisation

Fixes #74614.

This PR disables polymorphisation to fix the regression in #74614 after investigation into the issue makes it clear that the fix won't be trivial. ~~I'll file an issue shortly to replace #74614 with the findings so far.~~ #74636 has been filed to track the fix of the underlying regression.

r? @eddyb
Diffstat (limited to 'src/test/codegen-units/polymorphization')
-rw-r--r--src/test/codegen-units/polymorphization/unused_type_parameters.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/codegen-units/polymorphization/unused_type_parameters.rs b/src/test/codegen-units/polymorphization/unused_type_parameters.rs
index dc2ad0559b3..403f68bb170 100644
--- a/src/test/codegen-units/polymorphization/unused_type_parameters.rs
+++ b/src/test/codegen-units/polymorphization/unused_type_parameters.rs
@@ -1,4 +1,4 @@
-// compile-flags:-Zprint-mono-items=lazy -Copt-level=1
+// compile-flags:-Zpolymorphize=on -Zprint-mono-items=lazy -Copt-level=1
 // ignore-tidy-linelength
 
 #![crate_type = "rlib"]