aboutsummaryrefslogtreecommitdiffstats
path: root/validator_derive/tests/run-pass/phone.rs
diff options
context:
space:
mode:
authorVincent Prouillet2018-05-29 22:22:01 +0200
committerVincent Prouillet2018-05-29 22:22:01 +0200
commit287e83a27988fb7de5871e9ce4c8ba8c515b2076 (patch)
tree58beb55b3c23efe9a49756b57cfde9996a28f54b /validator_derive/tests/run-pass/phone.rs
parent43c4c125149f68f2290f6ba5ec941174a8a5e483 (diff)
downloadvalidator-287e83a27988fb7de5871e9ce4c8ba8c515b2076.tar.bz2
Prepare for release
Diffstat (limited to 'validator_derive/tests/run-pass/phone.rs')
-rw-r--r--validator_derive/tests/run-pass/phone.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/validator_derive/tests/run-pass/phone.rs b/validator_derive/tests/run-pass/phone.rs
index d6dff9e..b8766db 100644
--- a/validator_derive/tests/run-pass/phone.rs
+++ b/validator_derive/tests/run-pass/phone.rs
@@ -4,6 +4,7 @@
extern crate validator;
use validator::Validate;
+#[cfg(feature = "phone")]
#[derive(Validate)]
struct Test {
#[validate(phone)]