Home
last modified time | relevance | path

Searched refs:blame_generics (Results 1 – 1 of 1) sorted by relevance

/third_party/rust/rust/compiler/rustc_hir_analysis/src/check/
Dcompare_impl_item.rs410 let mut blame_generics = vec![]; in extract_bad_args_for_implies_lint() localVariable
423 blame_generics.extend([a, b]); in extract_bad_args_for_implies_lint()
426 infer::SubregionOrigin::RelateParamBound(_, ty, _) => blame_generics.push(*ty), in extract_bad_args_for_implies_lint()
427 infer::SubregionOrigin::ReferenceOutlivesReferent(ty, _) => blame_generics.push(*ty), in extract_bad_args_for_implies_lint()
464 if blame_generics.iter().any(|blame| ty.contains(*blame)) { in extract_bad_args_for_implies_lint()