Use bool in favor of Option<()> for diagnostics
This commit is contained in:
@@ -18,7 +18,7 @@ pub struct GenericConstantTooComplex {
|
||||
#[primary_span]
|
||||
pub span: Span,
|
||||
#[note(ty_utils_maybe_supported)]
|
||||
pub maybe_supported: Option<()>,
|
||||
pub maybe_supported: bool,
|
||||
#[subdiagnostic]
|
||||
pub sub: GenericConstantTooComplexSub,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user