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

Fails to build with syn 2.0.39 #50

Closed
omerfirmak opened this issue Nov 6, 2023 · 2 comments
Closed

Fails to build with syn 2.0.39 #50

omerfirmak opened this issue Nov 6, 2023 · 2 comments
Labels

Comments

@omerfirmak
Copy link

error[E0603]: trait `CustomToken` is private
  --> /home/omer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/genco-macros-0.17.7/src/token.rs:11:18
   |
11 | impl syn::token::CustomToken for Eof {
   |                  ^^^^^^^^^^^ private trait
   |
note: the trait `CustomToken` is defined here
  --> /home/omer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.39/src/token.rs:92:16
   |
92 | pub(crate) use self::private::CustomToken;
   |                ^^^^^^^^^^^^^^^^^^^^^^^^^^
help: consider importing this trait instead
   |
11 | impl syn::__private::CustomToken for Eof {
   |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~

For more information about this error, try `rustc --explain E0603`.
@udoprog
Copy link
Owner

udoprog commented Nov 6, 2023

Thanks for bringing this to my attention. Since CustomToken is not public API this is not supposed to have been used. So I'll remove it ASAP.

@udoprog udoprog added the bug label Nov 6, 2023
udoprog added a commit that referenced this issue Nov 7, 2023
@udoprog udoprog closed this as completed in fc18674 Nov 7, 2023
@udoprog
Copy link
Owner

udoprog commented Nov 7, 2023

This should be fixed in genco 0.17.8.

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

No branches or pull requests

2 participants