Fix bad span for explicit lifetime suggestion
Move verbose logic to a function Minor renaming
This commit is contained in:
parent
1388d7a069
commit
c270a42fea
11 changed files with 167 additions and 83 deletions
|
@ -810,6 +810,8 @@ pub enum LifetimeRes {
|
|||
param: NodeId,
|
||||
/// Id of the introducing place. See `Param`.
|
||||
binder: NodeId,
|
||||
/// Kind of elided lifetime
|
||||
kind: hir::MissingLifetimeKind,
|
||||
},
|
||||
/// This variant is used for anonymous lifetimes that we did not resolve during
|
||||
/// late resolution. Those lifetimes will be inferred by typechecking.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue