]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/session/mod.rs
Make RFC 1214 warnings into errors, and rip out the "warn or err"
[rust.git] / src / librustc / session / mod.rs
index b7bfc2f8db53ecc4569c2b63cde8f22cab34bda1..9d285fb890e38e52e1417dd8eca126ac19702cf6 100644 (file)
@@ -117,13 +117,6 @@ pub fn span_err(&self, sp: Span, msg: &str) {
             None => self.diagnostic().span_err(sp, msg)
         }
     }
-    pub fn note_rfc_1214(&self, span: Span) {
-        self.span_note(
-            span,
-            &format!("this warning results from recent bug fixes and clarifications; \
-                      it will become a HARD ERROR in the next release. \
-                      See RFC 1214 for details."));
-    }
     pub fn span_err_with_code(&self, sp: Span, msg: &str, code: &str) {
         if self.opts.treat_err_as_bug {
             self.span_bug(sp, msg);