diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-02-21 10:43:50 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-04-04 10:01:45 +0000 |
| commit | 150448d2e043061cfa39f94b0d87e1c80fb6a121 (patch) | |
| tree | 7d077c1958e3c34bacf701a5af59d424cc6d7a2f | |
| parent | b54d72264aebf88e1099004c52aac6e4a06affd8 (diff) | |
| download | rust-150448d2e043061cfa39f94b0d87e1c80fb6a121.tar.gz rust-150448d2e043061cfa39f94b0d87e1c80fb6a121.zip | |
use `DefineOpaqueTypes::Yes` in rustdoc
Since we have a `DefiningAnchor::Error`, we will reject registering hidden types already
| -rw-r--r-- | src/librustdoc/clean/blanket_impl.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/clean/blanket_impl.rs b/src/librustdoc/clean/blanket_impl.rs index 47cfe651e31..72d4cc7c465 100644 --- a/src/librustdoc/clean/blanket_impl.rs +++ b/src/librustdoc/clean/blanket_impl.rs @@ -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 { |
