Skip to content

Commit 07893fb

Browse files
author
Keegan McAllister
committed
---
yaml --- r: 121425 b: refs/heads/snap-stage3 c: b5542f7 h: refs/heads/master i: 121423: 67fe9ef v: v3
1 parent a184447 commit 07893fb

File tree

12 files changed

+127
-127
lines changed

12 files changed

+127
-127
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 7a93beef7f692b34168ad69633f56483d38ad8fc
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 21e7b936d3a669b62e9cb8c6b2cf2c2eb0a5986c
4+
refs/heads/snap-stage3: b5542f7f5b1eb11430960687f69b5766857efaa0
55
refs/heads/try: 1813e5aa1a03b0596b8de7abd1af31edf5d6098f
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/librustc/driver/driver.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -786,15 +786,15 @@ pub fn collect_crate_types(session: &Session,
786786
}
787787
Some(ref n) if n.equiv(&("bin")) => Some(config::CrateTypeExecutable),
788788
Some(_) => {
789-
session.add_lint(lint::builtin::unknown_crate_type,
789+
session.add_lint(lint::builtin::UNKNOWN_CRATE_TYPE,
790790
ast::CRATE_NODE_ID,
791791
a.span,
792792
"invalid `crate_type` \
793793
value".to_string());
794794
None
795795
}
796796
_ => {
797-
session.add_lint(lint::builtin::unknown_crate_type,
797+
session.add_lint(lint::builtin::UNKNOWN_CRATE_TYPE,
798798
ast::CRATE_NODE_ID,
799799
a.span,
800800
"`crate_type` requires a \

branches/snap-stage3/src/librustc/front/feature_gate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ pub fn check_crate(sess: &Session, krate: &ast::Crate) {
409409
directive not necessary");
410410
}
411411
None => {
412-
sess.add_lint(lint::builtin::unknown_features,
412+
sess.add_lint(lint::builtin::UNKNOWN_FEATURES,
413413
ast::CRATE_NODE_ID,
414414
mi.span,
415415
"unknown feature".to_string());

0 commit comments

Comments
 (0)