diff options
| author | Philip Munksgaard <pmunksgaard@gmail.com> | 2014-12-18 13:10:41 +0100 |
|---|---|---|
| committer | Philip Munksgaard <pmunksgaard@gmail.com> | 2014-12-19 11:06:38 +0100 |
| commit | 3bb91aa28fd36173a87dd9dd47e120d5223042e2 (patch) | |
| tree | 9dc81648ffbc8caa2b9d17fb09a90cf3d7eda65a /src/rustllvm/RustWrapper.cpp | |
| parent | c0b2885ee12b79c99ac8245edb6eebaaa8e7fef1 (diff) | |
| download | rust-3bb91aa28fd36173a87dd9dd47e120d5223042e2.tar.gz rust-3bb91aa28fd36173a87dd9dd47e120d5223042e2.zip | |
Add a check for uninferred type parameter
This fixes #19978. The bug was introduced by 570325d, where if the type of an Fn has not been inferred (strs[0] is "_") we slice from 1 to 0. We now explicitly check if `strs[0]` is a single element tuple.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
