about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVishnunarayan K I <appukuttancr@gmail.com>2020-12-05 20:21:21 +0530
committerVishnunarayan K I <appukuttancr@gmail.com>2020-12-05 20:21:21 +0530
commit6fe31e76fb7c3a1d6346977e8edfd06c8f2c405e (patch)
tree97f25347962b10bed6fed65c7f21043957ff4a9e
parent51ecb96252bbce159e70617da611017afb30eba8 (diff)
downloadrust-6fe31e76fb7c3a1d6346977e8edfd06c8f2c405e.tar.gz
rust-6fe31e76fb7c3a1d6346977e8edfd06c8f2c405e.zip
fix clippy test
-rw-r--r--src/tools/clippy/tests/ui/crashes/used_underscore_binding_macro.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tools/clippy/tests/ui/crashes/used_underscore_binding_macro.rs b/src/tools/clippy/tests/ui/crashes/used_underscore_binding_macro.rs
index 6d2124c12fe..c57a45dc7aa 100644
--- a/src/tools/clippy/tests/ui/crashes/used_underscore_binding_macro.rs
+++ b/src/tools/clippy/tests/ui/crashes/used_underscore_binding_macro.rs
@@ -1,7 +1,6 @@
-#![allow(clippy::useless_attribute)] //issue #2910
+// edition:2018
 
-#[macro_use]
-extern crate serde_derive;
+use serde::Deserialize;
 
 /// Tests that we do not lint for unused underscores in a `MacroAttribute`
 /// expansion