update minicore

This commit is contained in:
Aditya-PS-05 2025-11-21 19:05:36 +05:30
parent a63900837a
commit f39579c04e
2 changed files with 6 additions and 2 deletions

View File

@ -557,8 +557,6 @@ where
fn regression_19957() {
// This test documents issue #19957: async-trait patterns incorrectly produce
// type mismatches between Pin<Box<dyn Future>> and Pin<Box<impl Future>>.
//
// 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

View File

@ -1518,6 +1518,12 @@ pub mod pin {
{
}
// endregion:dispatch_from_dyn
// region:coerce_unsized
impl<Ptr, U> crate::ops::CoerceUnsized<Pin<U>> for Pin<Ptr> where
Ptr: crate::ops::CoerceUnsized<U>
{
}
// endregion:coerce_unsized
}
// endregion:pin