Rollup merge of #106935 - TaKO8Ki:fix-104440, r=cjgillot
Fix `SingleUseLifetime` ICE Fixes #104440 cc: ``@matthiaskrgr``
This commit is contained in:
commit
8a830cf182
5 changed files with 174 additions and 25 deletions
|
@ -503,7 +503,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)>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue