#[label]
derive doesn't seem to work with Option<T>
where T
implements Into<SourceSpan>
but not Copy
#377
Labels
The
Diagnostic
derive fails in the following:The error message is "cannot move out of a shared reference" and says the problem is that
Option<MySpan>
does not implementCopy
.The derive works fine for
span: MySpan
, just not forspan: Option<MySpan>
.The text was updated successfully, but these errors were encountered: