Error in using schema.rs from models.rs #2979
-
The environment is as follows, and the official diesel tutorial 1 worked fine.
However, a simple Web Server with two tables , I just can't get rid of the notation problem. first
However, if you specify the use clause for only one table, the error for that table will be removed.
I'm very sorry, but could you please help me? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
This seems to be an issue with the way how you setup your module structure. It seems like you have a separate binary/library crate structure, but it's hard to tell that exactly without knowing details. Can you provide a full example how to reproduce this? |
Beta Was this translation helpful? Give feedback.
This seems to be an issue with the way how you setup your module structure. It seems like you have a separate binary/library crate structure, but it's hard to tell that exactly without knowing details. Can you provide a full example how to reproduce this?