Skip to content

Commit cd5bf6e

Browse files
committed
use DefineOpaqueTypes::Yes in rustdoc
Since we have a `DefiningAnchor::Error`, we will reject registering hidden types already
1 parent ab68746 commit cd5bf6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/clean/blanket_impl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ impl<'a, 'tcx> BlanketImplFinder<'a, 'tcx> {
4747
// Require the type the impl is implemented on to match
4848
// our type, and ignore the impl if there was a mismatch.
4949
let Ok(eq_result) = infcx.at(&traits::ObligationCause::dummy(), param_env).eq(
50-
DefineOpaqueTypes::No,
50+
DefineOpaqueTypes::Yes,
5151
impl_trait_ref.self_ty(),
5252
impl_ty,
5353
) else {

0 commit comments

Comments
 (0)