]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/formatting.rs
Merge branch 'macro-use' into HEAD
[rust.git] / clippy_lints / src / formatting.rs
index ff40839637bafabc385291293ae35ebcd338a8a1..784461c23ee8ae1b3b5eaef04bccb6a4c8f9f7dd 100644 (file)
@@ -1,6 +1,7 @@
 use rustc::lint::*;
+use rustc::{declare_lint, lint_array};
 use syntax::ast;
-use utils::{differing_macro_contexts, in_macro, snippet_opt, span_note_and_lint};
+use crate::utils::{differing_macro_contexts, in_macro, snippet_opt, span_note_and_lint};
 use syntax::ptr::P;
 
 /// **What it does:** Checks for use of the non-existent `=*`, `=!` and `=-`
@@ -63,7 +64,7 @@
 /// ```
 declare_clippy_lint! {
     pub POSSIBLE_MISSING_COMMA,
-    style,
+    correctness,
     "possible missing comma in array"
 }