]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_builtin_macros/test.rs
Rollup merge of #68374 - gitletH:patch-1, r=nikomatsakis
[rust.git] / src / librustc_builtin_macros / test.rs
index 280565badfdafbe0a588b6e8ce7910133e80b797..07715cdbcb5e92e2dede68640c07d8209184cdfc 100644 (file)
@@ -3,12 +3,12 @@
 use crate::util::check_builtin_macro_attribute;
 
 use rustc_expand::base::*;
+use rustc_span::source_map::respan;
+use rustc_span::symbol::{sym, Symbol};
 use rustc_span::Span;
 use syntax::ast;
 use syntax::attr;
 use syntax::print::pprust;
-use syntax::source_map::respan;
-use syntax::symbol::{sym, Symbol};
 
 use std::iter;
 
@@ -325,7 +325,7 @@ fn should_panic(cx: &ExtCtxt<'_>, i: &ast::Item) -> ShouldPanic {
                              `expected = \"error message\"`",
                         )
                         .note(
-                            "Errors in this attribute were erroneously \
+                            "errors in this attribute were erroneously \
                                 allowed and will become a hard error in a \
                                 future release.",
                         )