]> git.lizzy.rs Git - rust.git/commit
Correctly subst the fn_sig so that we get the correct types
authorManish Goregaokar <manishsmail@gmail.com>
Tue, 30 Jan 2018 09:17:25 +0000 (14:47 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Thu, 1 Feb 2018 02:35:37 +0000 (08:05 +0530)
commitf97629160fe944cd9185ba180221d19f66126e2f
tree24f53db3dc478d971a1065f54f895b09d10fd970
parentef4f4864f166e4f148d5b903bc928a1bcb63ead5
Correctly subst the fn_sig so that we get the correct types

Otherwise we get random TySelfs there, which means operations on
RETURN_PLACE end up breaking down badly.
src/librustc_mir/shim.rs