We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
derive
With an old-style Foo derive plugin, #[derive(Foo)] triggers a warning about an empty trait list.
Foo
#[derive(Foo)]
For example in Servo:
warning: empty trait list in `derive` --> /Users/nox/src/servo/components/script/script_runtime.rs:115:3 | 115 | #[derive(JSTraceable, HeapSizeOf)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The text was updated successfully, but these errors were encountered:
Rollup merge of rust-lang#37034 - nox:empty-trait-list, r=alexcrichton
69f4126
Do not add an empty #[derive()] list in expand_derive (fixes rust-lang#37033)
0d1ab4e
No branches or pull requests
With an old-style
Foo
derive plugin,#[derive(Foo)]
triggers a warning about an empty trait list.For example in Servo:
The text was updated successfully, but these errors were encountered: