Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kill UniFfiTag #1863

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Kill UniFfiTag #1863

wants to merge 1 commit into from

Conversation

mhammond
Copy link
Member

Works perfectly - until we get to custom types :(

error[E0117]: only traits defined in the current crate can be implemented for types defined outside of the crate
  --> /Users/skip/src/moz/uniffi-rs/target/debug/build/uniffi-example-custom-types-d2c6ba7186877117/out/custom-types.uniffi.rs:73:1
   |
73 | ::uniffi::custom_type!(r#Url, String);
   | ^^^^^^^^^^^^^^^^^^^^^^^-----
   | |                      |
   | |                      `Url` is not defined in the current crate
   | impl doesn't use only types from inside the current crate
   |
   = note: define and implement a trait or new type instead
   = note: this error originates in the macro `::uniffi::custom_type` (in Nightly builds, run with -Z macro-backtrace for more info)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant