Skip to content

Commit f71a0ea

Browse files
committed
Fix grammar in error message
Noticed in rust-lang#22429
1 parent f1bb6c2 commit f71a0ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/middle/stability.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -261,12 +261,12 @@ impl<'a, 'tcx> Checker<'a, 'tcx> {
261261
if self.tcx.sess.features.borrow().unmarked_api {
262262
self.tcx.sess.span_warn(span, "use of unmarked library feature");
263263
self.tcx.sess.span_note(span, "this is either a bug in the library you are \
264-
using and a bug in the compiler - please \
264+
using or a bug in the compiler - please \
265265
report it in both places");
266266
} else {
267267
self.tcx.sess.span_err(span, "use of unmarked library feature");
268268
self.tcx.sess.span_note(span, "this is either a bug in the library you are \
269-
using and a bug in the compiler - please \
269+
using or a bug in the compiler - please \
270270
report it in both places");
271271
self.tcx.sess.span_note(span, "use #![feature(unmarked_api)] in the \
272272
crate attributes to override this");

0 commit comments

Comments
 (0)