1
Fork 0
This commit is contained in:
Takayuki Maeda 2023-01-16 21:06:34 +09:00
parent d12412c90f
commit fe96c11aba
5 changed files with 174 additions and 25 deletions

View file

@ -502,7 +502,7 @@ pub enum BuiltinLintDiagnostics {
param_span: Span,
/// Span of the code that should be removed when eliding this lifetime.
/// This span should include leading or trailing comma.
deletion_span: Span,
deletion_span: Option<Span>,
/// Span of the single use, or None if the lifetime is never used.
/// If true, the lifetime will be fully elided.
use_span: Option<(Span, bool)>,