diff options
| author | Keegan McAllister <kmcallister@mozilla.com> | 2014-06-04 14:35:58 -0700 |
|---|---|---|
| committer | Keegan McAllister <kmcallister@mozilla.com> | 2014-06-24 10:25:15 -0700 |
| commit | 442fbc473e10d1efe3359b19f342d11097259fc4 (patch) | |
| tree | 2cd1c9fa79cd37a0453b8c4a1b3fe9b0d05eed9e /src/librustc/front | |
| parent | 69b6bc5eee9174d0f2ef1e4ff60a6ed06aedf455 (diff) | |
Replace enum LintId with an extensible alternative
Diffstat (limited to 'src/librustc/front')
| -rw-r--r-- | src/librustc/front/feature_gate.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/front/feature_gate.rs b/src/librustc/front/feature_gate.rs index 3d6b565fb86..b7c1ebcda98 100644 --- a/src/librustc/front/feature_gate.rs +++ b/src/librustc/front/feature_gate.rs @@ -409,7 +409,7 @@ pub fn check_crate(sess: &Session, krate: &ast::Crate) { directive not necessary"); } None => { - sess.add_lint(lint::UnknownFeatures, + sess.add_lint(lint::builtin::unknown_features, ast::CRATE_NODE_ID, mi.span, "unknown feature".to_string()); |
