]> git.lizzy.rs Git - rust.git/commit
Sidestep warning about repeated E0045 `span_err!` invocation.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Tue, 21 Jul 2015 15:41:08 +0000 (17:41 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Tue, 21 Jul 2015 15:41:08 +0000 (17:41 +0200)
commit3413346be26dbe059db01806016df864ff56daa0
tree976803622901e16bbaa6244a4b248115c8e4b179
parent2afe47d1688726fd1e836deedaa0ad8c2ec891c7
Sidestep warning about repeated E0045 `span_err!` invocation.

(That is, take the two expressions with the same message and unify
them into one subroutine.)
src/librustc_typeck/astconv.rs
src/librustc_typeck/check/mod.rs
src/librustc_typeck/lib.rs