Leave the responsibility to create Fresh
lifetimes to lowering.
This commit is contained in:
parent
dc614b90ca
commit
bc6a2c11ee
4 changed files with 34 additions and 30 deletions
|
@ -732,7 +732,9 @@ pub enum LifetimeRes {
|
|||
/// Created a generic parameter for an anonymous lifetime.
|
||||
Fresh {
|
||||
/// Id of the generic parameter that introduced it.
|
||||
param: LocalDefId,
|
||||
///
|
||||
/// Creating the associated `LocalDefId` is the responsibility of lowering.
|
||||
param: NodeId,
|
||||
/// Id of the introducing place. See `Param`.
|
||||
binder: NodeId,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue