From d7428944c20ab212a05d4e855fd233ed7e09e4a9 Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Thu, 15 Sep 2016 10:12:56 -0700 Subject: Fix wording for out-of-crate macro error --- src/librustc_errors/emitter.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/librustc_errors') diff --git a/src/librustc_errors/emitter.rs b/src/librustc_errors/emitter.rs index 1bdc9ef3088..6456b72dfb5 100644 --- a/src/librustc_errors/emitter.rs +++ b/src/librustc_errors/emitter.rs @@ -473,7 +473,8 @@ impl EmitterWriter { if spans_updated { children.push(SubDiagnostic { level: Level::Note, - message: "this error originates in a macro from the standard library".to_string(), + message:"this error originates in a macro outside of the current \ + crate".to_string(), span: MultiSpan::new(), render_span: None }); -- cgit 1.4.1-3-g733a5