Revert "Normalize function type during validation"

This reverts commit d486bfcbff.
This commit is contained in:
Tomasz Miąsko 2020-11-19 05:36:55 +01:00
parent 8247223f74
commit 0ab44584aa
3 changed files with 8 additions and 16 deletions

View file

@ -1,3 +1,7 @@
// revisions: default miropt
//[miropt]compile-flags: -Z mir-opt-level=2
// ~^ This flag is for #77668, it used to be ICE.
#![crate_type = "lib"]
pub fn bar<P>( // Error won't happen if "bar" is not generic