aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy/servo_tidy_tests/rust_tidy.rs
diff options
context:
space:
mode:
authorClément DAVID <c.david86@gmail.com>2017-08-21 22:56:05 +0200
committerClément DAVID <c.david86@gmail.com>2017-08-23 21:04:14 +0200
commitab73f3d61d895289898821272f6af2665c9c645c (patch)
tree7344ed312ff00f28afc9d97a29f44139bc5de655 /python/tidy/servo_tidy_tests/rust_tidy.rs
parent16c1446137317b7e974d65119d2187b81f0d2394 (diff)
downloadservo-ab73f3d61d895289898821272f6af2665c9c645c.tar.gz
servo-ab73f3d61d895289898821272f6af2665c9c645c.zip
Automatically verify that derive() lists are alphabetically ordered
Diffstat (limited to 'python/tidy/servo_tidy_tests/rust_tidy.rs')
-rw-r--r--python/tidy/servo_tidy_tests/rust_tidy.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/tidy/servo_tidy_tests/rust_tidy.rs b/python/tidy/servo_tidy_tests/rust_tidy.rs
index bed4664a279..c1be1695156 100644
--- a/python/tidy/servo_tidy_tests/rust_tidy.rs
+++ b/python/tidy/servo_tidy_tests/rust_tidy.rs
@@ -21,6 +21,7 @@ extern crate webrender_api;
extern crate style_traits;
#[foo = "bar,baz"]
+#[derive(Copy,Debug, ComputeSquaredDistance)]
impl test {
fn test_fun(y:f32)->f32{