Do not overwrite binders for another HirId.
This commit is contained in:
parent
57ee5cf5a9
commit
337a73da6e
8 changed files with 112 additions and 25 deletions
|
@ -731,6 +731,7 @@ pub enum PredicateOrigin {
|
|||
/// A type bound (e.g., `for<'c> Foo: Send + Clone + 'c`).
|
||||
#[derive(Debug, HashStable_Generic)]
|
||||
pub struct WhereBoundPredicate<'hir> {
|
||||
pub hir_id: HirId,
|
||||
pub span: Span,
|
||||
/// Origin of the predicate.
|
||||
pub origin: PredicateOrigin,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue