]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #33708 - nham:zero-elided-lifetimes, r=sanxiyn
authorManish Goregaokar <manishsmail@gmail.com>
Thu, 19 May 2016 15:51:06 +0000 (21:21 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Thu, 19 May 2016 15:51:06 +0000 (21:21 +0530)
Only print parameters with elided lifetimes in elision error messages.

When displaying the function parameters for a lifetime elision error message,
this changes it to first filter out the parameters that don't have elided
lifetimes.

Fixes #30255.

1  2 
src/librustc_typeck/astconv.rs

Simple merge