We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fdcd3a commit 2ce61c0Copy full SHA for 2ce61c0
src/libcore/marker.rs
@@ -625,6 +625,12 @@ pub struct Pinned;
625
#[unstable(feature = "pin", issue = "49150")]
626
impl !Unpin for Pinned {}
627
628
+#[unstable(feature = "pin", issue = "49150")]
629
+impl<'a, T: ?Sized + 'a> Unpin for &'a T {}
630
+
631
632
+impl<'a, T: ?Sized + 'a> Unpin for &'a mut T {}
633
634
/// Implementations of `Copy` for primitive types.
635
///
636
/// Implementations that cannot be described in Rust
0 commit comments