You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there! Why import Arc struct is broken when I use Axum (maybe not only Axum) and SeaORM migrations in VSCode and Lapce (I suppose rust-analyzer lsp)?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there! Why import Arc struct is broken when I use Axum (maybe not only Axum) and SeaORM migrations in VSCode and Lapce (I suppose rust-analyzer lsp)?
It's reproduce here https://github.com/SeaQL/sea-orm/blob/master/examples/axum_example/api/src/lib.rs#L24
And added next string:
use migration::RcOrArc;
insteaduse std::sync::Arc;
.After remove
dependencies.sea-orm-migration
everything works fine.Beta Was this translation helpful? Give feedback.
All reactions