drop unnecessary "warning" from warning text

This commit is contained in:
QuietMisdreavus
2018-05-14 15:33:59 -05:00
parent bb6224bc84
commit 10ac995024
2 changed files with 3 additions and 3 deletions

View File

@@ -649,7 +649,7 @@ where R: 'static + Send,
let diag = core::new_handler(error_format, None);
fn report_deprecated_attr(name: &str, diag: &errors::Handler) {
let mut msg = diag.struct_warn(&format!("WARNING: the `#![doc({})]` attribute is \
let mut msg = diag.struct_warn(&format!("the `#![doc({})]` attribute is \
considered deprecated", name));
msg.warn("please see https://github.com/rust-lang/rust/issues/44136");