don't return an Option from try_find_dep_kind
This commit is contained in:
parent
45f198197b
commit
66c9a59a14
3 changed files with 8 additions and 13 deletions
|
@ -82,9 +82,9 @@ pub(crate) struct IncrementCompilation {
|
|||
#[diag(query_system_query_overflow)]
|
||||
pub struct QueryOverflow {
|
||||
#[primary_span]
|
||||
pub span: Option<Span>,
|
||||
pub span: Span,
|
||||
#[subdiagnostic]
|
||||
pub note: Option<QueryOverflowNote>,
|
||||
pub note: QueryOverflowNote,
|
||||
pub suggested_limit: Limit,
|
||||
pub crate_name: Symbol,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue