1
Fork 0

Improve some diagnostics around ?Trait bounds

This commit is contained in:
Oli Scherer 2023-10-30 17:47:07 +00:00
parent 6d1fc53cf4
commit 455cf5a4f6
8 changed files with 65 additions and 60 deletions

View file

@ -96,7 +96,7 @@ pub struct CopyImplOnTypeWithDtor {
#[diag(hir_analysis_multiple_relaxed_default_bounds, code = "E0203")]
pub struct MultipleRelaxedDefaultBounds {
#[primary_span]
pub span: Span,
pub spans: Vec<Span>,
}
#[derive(Diagnostic)]