Skip to content

Commit 35492f1

Browse files
committed
Fix grammar of the accepted feature warning
1 parent 8fe47bc commit 35492f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/front/feature_gate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ pub fn check_crate(sess: &Session, krate: &ast::Crate) {
403403
sess.span_err(mi.span, "feature has been removed");
404404
}
405405
Some(&(_, Accepted)) => {
406-
sess.span_warn(mi.span, "feature has added to rust, \
406+
sess.span_warn(mi.span, "feature has been added to rust, \
407407
directive not necessary");
408408
}
409409
None => {

0 commit comments

Comments
 (0)