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

Edition 2021 #45

Closed
futursolo opened this issue Sep 15, 2021 · 1 comment
Closed

Edition 2021 #45

futursolo opened this issue Sep 15, 2021 · 1 comment

Comments

@futursolo
Copy link
Owner

Rust Edition 2021 is around the corner.

This issue aims to upgrade stylist to Edition 2021 when it reaches stable Rust.

https://blog.rust-lang.org/2021/05/11/edition-2021.html

@futursolo
Copy link
Owner Author

futursolo commented Sep 23, 2021

https://doc.rust-lang.org/edition-guide/rust-2021/reserving-syntax.html

For inline syntax, selectors like some-element#some-id is not possible even after #41 is solved via proc_macro_span.

This is likely a permanent limitation that needs to be documented.

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

1 participant