Closed
Description
The following code emits an unsquelchable warning.
#![crate_type="lib"]
#[derive()]
struct Struct;
warning: empty trait list in `derive`
--> src/lib.rs:4:1
|
4 | #[derive()]
| ^^^^^^^^^^^
This warning should have a named lint unused_derive
that is a part of the unused
group of lints.
This warning should be a part of unused_attributes
.
Metadata
Metadata
Assignees
Labels
Area: Attributes (`#[…]`, `#![…]`)Area: Lints (warnings about flaws in source code) such as unused_mut.Category: An issue tracking the progress of sth. like the implementation of an RFCRelevant to the language teamThis issue / PR is in PFCP or FCP with a disposition to merge it.The final comment period is finished for this PR / Issue.