]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/session/mod.rs
Rollup merge of #24072 - ebfull:explain_closure_type_err, r=pnkfelix
[rust.git] / src / librustc / session / mod.rs
index 88faf1cb68ae4db505359543eff52f5c592f25d1..500af5fc772f5ca2d6e18046f8f83ed94f80a560 100644 (file)
@@ -163,7 +163,7 @@ pub fn note(&self, msg: &str) {
         self.diagnostic().handler().note(msg)
     }
     pub fn help(&self, msg: &str) {
-        self.diagnostic().handler().note(msg)
+        self.diagnostic().handler().help(msg)
     }
     pub fn opt_span_bug(&self, opt_sp: Option<Span>, msg: &str) -> ! {
         match opt_sp {