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

Does not work in wasm. #9

Open
lencil opened this issue Sep 11, 2023 · 1 comment
Open

Does not work in wasm. #9

lencil opened this issue Sep 11, 2023 · 1 comment

Comments

@lencil
Copy link

lencil commented Sep 11, 2023

error[E0599]: no method named parse_dotfound for reference&Pathin the current scope --> /Users/lencil/.cargo/registry/src/index.crates.io-6f17d22bba15001f/path-dedot-3.1.1/src/lib.rs:319:24 | 319 | self.as_path().parse_dot() | ^^^^^^^^^ help: there is a method with a similar name:parent| = help: items from traits can only be used if the trait is implemented and in scope note:parse_dot::ParseDotdefines an itemparse_dot`, perhaps you need to implement it
--> /Users/lencil/.cargo/registry/src/index.crates.io-6f17d22bba15001f/path-dedot-3.1.1/src/parse_dot.rs:4:1
|
4 | pub trait ParseDot {
| ^^^^^^^^^^^^^^^^^^

error[E0599]: no method named parse_dot_from found for reference &Path in the current scope
--> /Users/lencil/.cargo/registry/src/index.crates.io-6f17d22bba15001f/path-dedot-3.1.1/src/lib.rs:324:24
|
324 | self.as_path().parse_dot_from(cwd)`

@cooperrunyan
Copy link

This happened to me too. As a workaround, you can use the path_clean crate.

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

No branches or pull requests

2 participants