]> git.lizzy.rs Git - rust.git/commit
use diagnostic-mutating style for `note_type_err` too
authorAriel Ben-Yehuda <arielb1@mail.tau.ac.il>
Thu, 21 Jul 2016 17:12:30 +0000 (20:12 +0300)
committerAriel Ben-Yehuda <ariel.byd@gmail.com>
Fri, 22 Jul 2016 19:47:38 +0000 (22:47 +0300)
commit93a96835b09fda7aefb886c9c1c9daa5831bdac6
treec19dde1d24c288246b8c749cf67a8727d074b449
parent1e4f6d56836e9f9867bb8b05efc2fffceab6b423
use diagnostic-mutating style for `note_type_err` too

that is much cleaner than the `type_err!` style I used earlier.
src/librustc/infer/error_reporting.rs
src/librustc/macros.rs
src/librustc/traits/error_reporting.rs
src/librustc_typeck/check/compare_method.rs