Skip to content

unresolved import #365

@wcampbell0x2a

Description

@wcampbell0x2a

having the following problem when compiling this library:

   Compiling rustyline-derive v0.3.1
error[E0432]: unresolved import `proc_macro`
 --> /home/$USER/.cargo/registry/src/github.com-1ecc6299db9ec823/rustyline-derive-0.3.1/src/lib.rs:1:5
  |
1 | use proc_macro::TokenStream;
  |     ^^^^^^^^^^ help: a similar path exists: `syn::proc_macro`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0432`.
error: could not compile `rustyline-derive`.
To learn more, run the command again with --verbose.

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