Record in HIR whether lifetime elision was succesful.
This commit is contained in:
parent
fb7d25e978
commit
5f5e7a8eec
7 changed files with 50 additions and 34 deletions
|
@ -2670,6 +2670,8 @@ pub struct FnDecl<'hir> {
|
|||
pub c_variadic: bool,
|
||||
/// Does the function have an implicit self?
|
||||
pub implicit_self: ImplicitSelfKind,
|
||||
/// Is lifetime elision allowed.
|
||||
pub lifetime_elision_allowed: bool,
|
||||
}
|
||||
|
||||
/// Represents what type of implicit self a function has, if any.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue