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