about summary refs log tree commit diff
path: root/src/test/compile-fail/lint-unnecessary-parens.rs
diff options
context:
space:
mode:
authorNick Cameron <ncameron@mozilla.com>2014-12-31 17:32:49 +1300
committerNick Cameron <ncameron@mozilla.com>2015-01-02 23:05:22 +1300
commit30e149231c627e61524d1b5bd6357886befae9e6 (patch)
tree8bfb22729d4d1c3784be33cf6eed65aae89fa1d9 /src/test/compile-fail/lint-unnecessary-parens.rs
parent7506fe52696c5b3b628f173d74dc4a13b5ccc1f3 (diff)
downloadrust-30e149231c627e61524d1b5bd6357886befae9e6.tar.gz
rust-30e149231c627e61524d1b5bd6357886befae9e6.zip
Use `derive` rather than `deriving` in tests
Diffstat (limited to 'src/test/compile-fail/lint-unnecessary-parens.rs')
-rw-r--r--src/test/compile-fail/lint-unnecessary-parens.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/lint-unnecessary-parens.rs b/src/test/compile-fail/lint-unnecessary-parens.rs
index b71effa6f86..1c7a2d7e9d5 100644
--- a/src/test/compile-fail/lint-unnecessary-parens.rs
+++ b/src/test/compile-fail/lint-unnecessary-parens.rs
@@ -10,7 +10,7 @@
 
 #![deny(unused_parens)]
 
-#[deriving(Eq, PartialEq)]
+#[derive(Eq, PartialEq)]
 struct X { y: bool }
 impl X {
     fn foo(&self) -> bool { self.y }