Skip to content

Commit 8436a83

Browse files
author
Keegan McAllister
committed
---
yaml --- r: 152790 b: refs/heads/try2 c: b5542f7 h: refs/heads/master v: v3
1 parent aa1c29e commit 8436a83

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
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 21e7b936d3a669b62e9cb8c6b2cf2c2eb0a5986c
8+
refs/heads/try2: b5542f7f5b1eb11430960687f69b5766857efaa0
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/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/try2/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)