Skip to content

no method named take_boxed_value #177

@carlwiedemann

Description

@carlwiedemann

I wasn't experiencing this directly, but a coworker of mine is seeing it:

error[E0599]: no method named `take_boxed_value` found for struct `PoolValue<Token>` in the current scope
     --> /Users/[redacted]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lib-ruby-parser-4.0.5+ruby-3.1.2/src/parser/parse.rs:15521:37
      |
15521 |             let boxed_token = token.take_boxed_value();
      |                                     ^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `take_value`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `lib-ruby-parser` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `pks v0.1.75`, intermediate artifacts can be found at `/var/folders/pt/bg69lq2j29z8qgc___k_c3sr0000gq/T/cargo-installU7Eu3Z`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Let me know if this is actually a https://github.com/lib-ruby-parser/lib-ruby-parser issue. Thanks in advance for any time you can spend

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions