From f39579c04e8ecafdc6843d1656c30fbc0430acd9 Mon Sep 17 00:00:00 2001 From: Aditya-PS-05 Date: Fri, 21 Nov 2025 19:05:36 +0530 Subject: [PATCH] update minicore --- crates/hir-ty/src/tests/regression/new_solver.rs | 2 -- crates/test-utils/src/minicore.rs | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/crates/hir-ty/src/tests/regression/new_solver.rs b/crates/hir-ty/src/tests/regression/new_solver.rs index 420a316009..18509c5284 100644 --- a/crates/hir-ty/src/tests/regression/new_solver.rs +++ b/crates/hir-ty/src/tests/regression/new_solver.rs @@ -557,8 +557,6 @@ where fn regression_19957() { // This test documents issue #19957: async-trait patterns incorrectly produce // type mismatches between Pin> and Pin>. - // - // The test currently FAILS (as expected) because the bug is not yet fixed. check_no_mismatches( r#" //- minicore: future, pin, result, error, send, coerce_unsized, dispatch_from_dyn diff --git a/crates/test-utils/src/minicore.rs b/crates/test-utils/src/minicore.rs index d5905afc38..679fe420b0 100644 --- a/crates/test-utils/src/minicore.rs +++ b/crates/test-utils/src/minicore.rs @@ -1518,6 +1518,12 @@ pub mod pin { { } // endregion:dispatch_from_dyn + // region:coerce_unsized + impl crate::ops::CoerceUnsized> for Pin where + Ptr: crate::ops::CoerceUnsized + { + } + // endregion:coerce_unsized } // endregion:pin