From f71a0ea60b934f2d93b611c66d0b7f1148efb51d Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Tue, 17 Feb 2015 13:42:31 -0500 Subject: [PATCH] Fix grammar in error message Noticed in #22429 --- src/librustc/middle/stability.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc/middle/stability.rs b/src/librustc/middle/stability.rs index a086e91f4d9..4437a098b1e 100644 --- a/src/librustc/middle/stability.rs +++ b/src/librustc/middle/stability.rs @@ -261,12 +261,12 @@ impl<'a, 'tcx> Checker<'a, 'tcx> { if self.tcx.sess.features.borrow().unmarked_api { self.tcx.sess.span_warn(span, "use of unmarked library feature"); self.tcx.sess.span_note(span, "this is either a bug in the library you are \ - using and a bug in the compiler - please \ + using or a bug in the compiler - please \ report it in both places"); } else { self.tcx.sess.span_err(span, "use of unmarked library feature"); self.tcx.sess.span_note(span, "this is either a bug in the library you are \ - using and a bug in the compiler - please \ + using or a bug in the compiler - please \ report it in both places"); self.tcx.sess.span_note(span, "use #![feature(unmarked_api)] in the \ crate attributes to override this");