aboutsummaryrefslogtreecommitdiffstats
path: root/validator_derive
diff options
context:
space:
mode:
Diffstat (limited to 'validator_derive')
-rw-r--r--validator_derive/tests/compile-fail/no_nested_validations.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/validator_derive/tests/compile-fail/no_nested_validations.rs b/validator_derive/tests/compile-fail/no_nested_validations.rs
index 788152d..ec959d9 100644
--- a/validator_derive/tests/compile-fail/no_nested_validations.rs
+++ b/validator_derive/tests/compile-fail/no_nested_validations.rs
@@ -3,7 +3,7 @@ extern crate validator;
use validator::Validate;
#[derive(Validate)]
-//~^ ERROR: no method named `validate` found for type `Nested` in the current scope [E0599]
+//~^ ERROR: no method named `validate` found for struct `Nested` in the current scope [E0599]
//~^^ HELP: items from traits can only be used if the trait is implemented and in scope
struct Test {
#[validate]