|
| 1 | +error: rustc_dump_predicates |
| 2 | + --> $DIR/assoc-type-predicates.rs:25:1 |
| 3 | + | |
| 4 | +LL | fn a_bound<T: A<Assoc = i8>>() {} |
| 5 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 6 | + | |
| 7 | + = note: Binder { value: TraitPredicate(<T as std::marker::Sized>, polarity:Positive), bound_vars: [] } |
| 8 | + = note: Binder { value: TraitPredicate(<T as A>, polarity:Positive), bound_vars: [] } |
| 9 | + = note: Binder { value: ProjectionPredicate(AliasTerm { args: [T/#0], kind: ProjectionTy { def_id: DefId(0:4 ~ assoc_type_predicates[HASH]::A::Assoc) }, .. }, Term::Ty(i8)), bound_vars: [] } |
| 10 | + |
| 11 | +error: rustc_dump_predicates |
| 12 | + --> $DIR/assoc-type-predicates.rs:32:1 |
| 13 | + | |
| 14 | +LL | fn b_bound<T: B<Assoc = i16>>() {} |
| 15 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 16 | + | |
| 17 | + = note: Binder { value: TraitPredicate(<T as std::marker::Sized>, polarity:Positive), bound_vars: [] } |
| 18 | + = note: Binder { value: TraitPredicate(<T as B>, polarity:Positive), bound_vars: [] } |
| 19 | + = note: Binder { value: ProjectionPredicate(AliasTerm { args: [T/#0], kind: ProjectionTy { def_id: DefId(0:9 ~ assoc_type_predicates[HASH]::B::Assoc) }, .. }, Term::Ty(i16)), bound_vars: [] } |
| 20 | + |
| 21 | +error: rustc_dump_predicates |
| 22 | + --> $DIR/assoc-type-predicates.rs:39:1 |
| 23 | + | |
| 24 | +LL | fn c_bound<T: C<Assoc = i16>>() {} |
| 25 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 26 | + | |
| 27 | + = note: Binder { value: TraitPredicate(<T as std::marker::Sized>, polarity:Positive), bound_vars: [] } |
| 28 | + = note: Binder { value: TraitPredicate(<T as C>, polarity:Positive), bound_vars: [] } |
| 29 | + = note: Binder { value: ProjectionPredicate(AliasTerm { args: [T/#0], kind: ProjectionTy { def_id: DefId(0:9 ~ assoc_type_predicates[HASH]::B::Assoc) }, .. }, Term::Ty(i16)), bound_vars: [] } |
| 30 | + |
| 31 | +error: aborting due to 3 previous errors |
| 32 | + |
0 commit comments