Replies: 1 comment 1 reply
-
You need to compile with |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the Bug
When I run
cargo doc --all-features --open
on this crate
https://github.com/sjud/wasm-bindgen/tree/fedcm_idl
which is the result of running
cargo run --release --package wasm-bindgen-webidl -- webidls src/features ./Cargo.toml
after adding this idl
https://github.com/sjud/wasm-bindgen/blob/fedcm_idl/crates/web-sys/webidls/unstable/FedCM.webidl
I get this error
For more information about this error, try
rustc --explain E0412
.error: could not document
web-sys
Except, this is wrong because
https://github.com/sjud/wasm-bindgen/blob/fedcm_idl/crates/web-sys/src/features/gen_IdentityCredentialRequestOptions.rs
exists and is in the mod.rs
https://github.com/sjud/wasm-bindgen/blob/fedcm_idl/crates/web-sys/src/features/mod.rs
line 4763
Steps to Reproduce
cargo doc --all-features --open
If applicable, add a link to a test case (as a zip file or link to a repository we can clone).
Expected Behavior
No type not found error.
Actual Behavior
There is a type not found error.
Additional Context
Thank you for all of your hard work.
Beta Was this translation helpful? Give feedback.
All reactions