mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-12-27 16:07:46 +00:00
update minicore
This commit is contained in:
parent
a63900837a
commit
f39579c04e
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user