Disallow #[default] Variant {}
regardless of feature flag
This commit is contained in:
parent
148a77dfde
commit
2d6e763cc6
5 changed files with 38 additions and 11 deletions
|
@ -424,6 +424,7 @@ pub(crate) struct MultipleDefaultsSugg {
|
|||
pub(crate) struct NonUnitDefault {
|
||||
#[primary_span]
|
||||
pub(crate) span: Span,
|
||||
pub(crate) post: &'static str,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue