Skip to content

Commit

Permalink
Fix grammar in error message
Browse files Browse the repository at this point in the history
Noticed in #22429
  • Loading branch information
steveklabnik committed Feb 17, 2015
1 parent f1bb6c2 commit f71a0ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc/middle/stability.rs
Expand Up @@ -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");
Expand Down

0 comments on commit f71a0ea

Please sign in to comment.