]> git.lizzy.rs Git - rust.git/commitdiff
rollup merge of #19979: Munksgaard/19978
authorAlex Crichton <alex@alexcrichton.com>
Sun, 21 Dec 2014 08:04:04 +0000 (00:04 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Sun, 21 Dec 2014 17:26:44 +0000 (09:26 -0800)
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.

1  2 
src/librustc/util/ppaux.rs

Simple merge