]> git.lizzy.rs Git - rust.git/commit
Auto merge of #25065 - quantheory:fix_associated_const_ambiguity_message, r=nikomatsakis
authorbors <bors@rust-lang.org>
Thu, 14 May 2015 03:36:37 +0000 (03:36 +0000)
committerbors <bors@rust-lang.org>
Thu, 14 May 2015 03:36:37 +0000 (03:36 +0000)
commit1b5b6390ba98577741261eef5961cc6e8b0075e1
tree6647baef0b65fd50f7d93dddd973c5c163871f1d
parente5394240a295650b567aa406b4a0e1e3a6749a5f
parentb4bbf3a88dd965222c8e06ee113aa3a3730e3739
Auto merge of #25065 - quantheory:fix_associated_const_ambiguity_message, r=nikomatsakis

This fixes #24922 and #25017, and reduces the number of error messages that talk about "methods" when associated constants rather than methods are involved.

I will admit that I haven't thought very carefully about the error messages. My goal has been to make more of the messages technically correct in all situations, and to avoid ICEs. But in some cases we could probably talk specifically about "methods" rather than "items".