review
This commit is contained in:
parent
bc0156bace
commit
f3996f6a88
21 changed files with 62 additions and 40 deletions
|
@ -391,7 +391,7 @@ fn orphan_check_trait_ref<'tcx>(
|
|||
) -> Result<(), OrphanCheckErr<'tcx>> {
|
||||
debug!("orphan_check_trait_ref(trait_ref={:?}, in_crate={:?})", trait_ref, in_crate);
|
||||
|
||||
if trait_ref.needs_infer() && trait_ref.needs_subst(tcx) {
|
||||
if trait_ref.needs_infer() && trait_ref.definitely_needs_subst(tcx) {
|
||||
bug!(
|
||||
"can't orphan check a trait ref with both params and inference variables {:?}",
|
||||
trait_ref
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue