]> git.lizzy.rs Git - rust.git/commit
Auto merge of #33330 - birkenfeld:issue-29121, r=Manishearth
authorbors <bors@rust-lang.org>
Tue, 3 May 2016 11:23:13 +0000 (04:23 -0700)
committerbors <bors@rust-lang.org>
Tue, 3 May 2016 11:23:13 +0000 (04:23 -0700)
commit3157691f963a86776cb7e6a7842f566032890aba
tree392d940b638c90c0a14ef243a2b8112b3fcd2446
parent7d8100a068151512774caf15a6a88766ca9cf434
parent780f725176e0fb8f37ef67564dd9ff1ee01f29c2
Auto merge of #33330 - birkenfeld:issue-29121, r=Manishearth

typeck: when suggesting associated fns, do not show call site as fallback

In case we cannot produce a span for the location of the definition, just do not show a span at all.

cc: #29121
src/librustc_typeck/check/method/suggest.rs