mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
use DefineOpaqueTypes::Yes
in rustdoc
Since we have a `DefiningAnchor::Error`, we will reject registering hidden types already
This commit is contained in:
parent
b54d72264a
commit
150448d2e0
@ -47,7 +47,7 @@ impl<'a, 'tcx> BlanketImplFinder<'a, 'tcx> {
|
||||
// Require the type the impl is implemented on to match
|
||||
// our type, and ignore the impl if there was a mismatch.
|
||||
let Ok(eq_result) = infcx.at(&traits::ObligationCause::dummy(), param_env).eq(
|
||||
DefineOpaqueTypes::No,
|
||||
DefineOpaqueTypes::Yes,
|
||||
impl_trait_ref.self_ty(),
|
||||
impl_ty,
|
||||
) else {
|
||||
|
Loading…
Reference in New Issue
Block a user