-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Setup
Versions
- Rust:1.29.0-nightly (254f8796b 2018-07-13)
- Diesel:1.3.2
- Database:sqlite
- Operating System:win10
Feature Flags
- diesel:
Problem Description
I got a lot of warns after rustup and cargo update, like follow:
warning: cannot find type `ThingDefine` in this scope
--> src\data\thing\mod.rs:71:41
|
71 | #[derive(Serialize, Deserialize, Debug, Queryable, Clone, PartialOrd, PartialEq)]
| ^^^^^^^^^ names from parent modules are not accessible without an explicit import
|
= note: #[warn(proc_macro_derive_resolution_fallback)] on by default
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #50504 <https://github.com/rust-lang/rust/issues/50504>
warning: cannot find type `NaiveDateTime` in this scope
--> src\data\thing\mod.rs:71:41
|
71 | #[derive(Serialize, Deserialize, Debug, Queryable, Clone, PartialOrd, PartialEq)]
| ^^^^^^^^^ names from parent modules are not accessible without an explicit import
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #50504 <https://github.com/rust-lang/rust/issues/50504>
What are you trying to accomplish?
I try to add #[allow(proc_macro_derive_resolution_fallback)] on the structure used for query to disable the errors, but the warning exists yet.
What is the expected output?
I want to remove these warnings
svenstaro, chonglou, nocduro, gabisurita, werner and 8 more
Metadata
Metadata
Assignees
Labels
No labels