Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a check for uninferred type parameter
This fixes rust-lang#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.
- Loading branch information
3bb91aa
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=alexcrichton rollup