-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Bad error message when using attributes proc_macro #52469
Comments
Is there a way to roll back to a previous nightly? |
@arcriley You can run |
Thank you @SimonSapin |
Both PRs that were said to fix this have been closed; given that this issue is over a year old, and that it's going to be hard to reproduce, I'm going to give this a close. @SimonSapin if you have a way to reproduce this today, let me know and we can re-open! |
I suspect that other things have been stabilized in the meantime and this is no longer relevant. |
Upgrading Servo to today’s Nightly caused a confusing pair of error messages:
Adding
#[macro_use]
changes the second error to:All three messages are wrong:
dom_struct::dom_struct
does existfeature(custom_attribute)
is not the correct fixfeature(proc_macro)
is not only not the correct fix, it was already present!The correct fix is to add
#![feature(use_extern_macros)]
, but the only way to figure that out is to read #52081.CC @alexcrichton
The text was updated successfully, but these errors were encountered: