]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_metadata/creader.rs
Move builtin attribute logic to new rustc_attr crate.
[rust.git] / src / librustc_metadata / creader.rs
index 351e72d4678f2bed27deb2fd0a9f138012e72a5a..4c4383aa603cb075444c4e14a3888c7b652c91a5 100644 (file)
@@ -694,7 +694,7 @@ fn inject_allocator_crate(&mut self, krate: &ast::Crate) {
                 self.sess
                     .struct_span_err(*span2, "cannot define multiple global allocators")
                     .span_label(*span2, "cannot define a new global allocator")
-                    .span_label(*span1, "previous global allocator is defined here")
+                    .span_label(*span1, "previous global allocator defined here")
                     .emit();
                 true
             }