diff options
| author | Nick Cameron <ncameron@mozilla.com> | 2014-12-31 17:32:49 +1300 |
|---|---|---|
| committer | Nick Cameron <ncameron@mozilla.com> | 2015-01-02 23:05:22 +1300 |
| commit | 30e149231c627e61524d1b5bd6357886befae9e6 (patch) | |
| tree | 8bfb22729d4d1c3784be33cf6eed65aae89fa1d9 /src/test/compile-fail/lint-unnecessary-parens.rs | |
| parent | 7506fe52696c5b3b628f173d74dc4a13b5ccc1f3 (diff) | |
| download | rust-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.rs | 2 |
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 } |
