Make it clearer that we're just checking for an RPITIT
This commit is contained in:
parent
bacf5bcbc7
commit
14672eba8b
9 changed files with 14 additions and 10 deletions
|
@ -92,6 +92,10 @@ impl AssocItem {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub fn is_impl_trait_in_trait(&self) -> bool {
|
||||
self.opt_rpitit_info.is_some()
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, PartialEq, Debug, HashStable, Eq, Hash, Encodable, Decodable)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue