@@ -2,36 +2,42 @@ error[E0432]: unresolved import `validator_other`
22 --> tests/compile-fail/wrong_crate_alias.rs:9:24
33 |
449 | #[validate(crate = "validator_other")]
5- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `validator_other`
5+ | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `validator_other`
6+ |
7+ = help: if you wanted to use a crate named `validator_other`, use `cargo add validator_other` to add it to your `Cargo.toml`
68
7- error[E0433]: failed to resolve: use of undeclared crate or module `validator_other`
9+ error[E0433]: failed to resolve: use of unresolved module or unlinked crate `validator_other`
810 --> tests/compile-fail/wrong_crate_alias.rs:9:24
911 |
10129 | #[validate(crate = "validator_other")]
11- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `validator_other`
13+ | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `validator_other`
1214 |
15+ = help: if you wanted to use a crate named `validator_other`, use `cargo add validator_other` to add it to your `Cargo.toml`
1316help: consider importing one of these structs
1417 |
15184 + use crate::validator_renamed::ValidationErrors;
1619 |
17204 + use validator::ValidationErrors;
1821 |
1922
20- error[E0433]: failed to resolve: use of undeclared crate or module `validator_other`
23+ error[E0433]: failed to resolve: use of unresolved module or unlinked crate `validator_other`
2124 --> tests/compile-fail/wrong_crate_alias.rs:9:24
2225 |
23269 | #[validate(crate = "validator_other")]
24- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `validator_other`
27+ | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `validator_other`
2528 |
29+ = help: if you wanted to use a crate named `validator_other`, use `cargo add validator_other` to add it to your `Cargo.toml`
2630help: consider importing one of these structs
2731 |
28324 + use crate::validator_renamed::ValidationError;
2933 |
30344 + use validator::ValidationError;
3135 |
3236
33- error[E0433]: failed to resolve: use of undeclared crate or module `validator_other`
37+ error[E0433]: failed to resolve: use of unresolved module or unlinked crate `validator_other`
3438 --> tests/compile-fail/wrong_crate_alias.rs:9:24
3539 |
36409 | #[validate(crate = "validator_other")]
37- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `validator_other`
41+ | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `validator_other`
42+ |
43+ = help: if you wanted to use a crate named `validator_other`, use `cargo add validator_other` to add it to your `Cargo.toml`
0 commit comments