Replies: 2 comments 3 replies
-
This sort of error usually occurs because there are two crates called |
Beta Was this translation helpful? Give feedback.
2 replies
-
Oh actually that's just the directory name. The library is named is set to
`nautilus_pyo3` in Cargo.toml. Surely the directory name doesn't cause
conflict because I'd wrapped other submodules earlier and those worked.
The only difference between this wrapped module and the others is that this
one adds a function. Others only add classes.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a module given below that compiles properly
However when I try to add this module as a submodule to another module it gives a type related error.
It appears to be a very minor difference in types
pyo3::Python<'_>
andpyo3::marker::Python<'_>
. I'm not sure what's wrong here because I'm using similar code to add other submodules as well which does work without any issue.Has anybody encountered this before?
Beta Was this translation helpful? Give feedback.
All reactions