Skip to content

Commit a74dd48

Browse files
author
Keegan McAllister
committed
---
yaml --- r: 119039 b: refs/heads/auto c: b5542f7 h: refs/heads/master i: 119037: 8f61b47 119035: 7a3ea11 119031: c48ad68 119023: b15a68b 119007: ce4aef0 118975: a5aee65 118911: b92c0d7 118783: 91931f2 v: v3
1 parent dde1e0a commit a74dd48

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
@@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1313
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1414
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1515
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16-
refs/heads/auto: 21e7b936d3a669b62e9cb8c6b2cf2c2eb0a5986c
16+
refs/heads/auto: b5542f7f5b1eb11430960687f69b5766857efaa0
1717
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1818
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1919
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

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