diff options
| author | bors <bors@rust-lang.org> | 2017-11-05 19:19:59 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-11-05 19:19:59 +0000 |
| commit | 3b82e4c74d43fc1273244532c3a90bf9912061cf (patch) | |
| tree | 92926e0b597257e85441e85c1834f8d37e607bc7 /src/rustllvm/RustWrapper.cpp | |
| parent | 666687a68cb9c42bf5eadcb2e5e447d7de5190d5 (diff) | |
| parent | afb52e1ca1c8b787a056d382ebd2288a53bdd1a5 (diff) | |
| download | rust-3b82e4c74d43fc1273244532c3a90bf9912061cf.tar.gz rust-3b82e4c74d43fc1273244532c3a90bf9912061cf.zip | |
Auto merge of #45723 - sinkuu:ice_45493, r=arielb1
Fix MIR inlining panic in generic function MIR inlining calls `Instance::resolve` with a substs containing param, and `trans_apply_param_substs` panics. ~~This PR fixes it by making `Instance::resolve` return `None` if `substs.has_param_types()`, though I'm not sure if this is a right fix.~~ Fixes #45493.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
