diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2020-10-21 16:30:41 +0200 |
|---|---|---|
| committer | Mara Bos <m-ou.se@m-ou.se> | 2020-10-21 16:30:41 +0200 |
| commit | 51de5908c94056f54cd54a1b03c84efea2b40b19 (patch) | |
| tree | db15a6cf6db7ebbc2bcd98a2f1a731e3eb3dd17d | |
| parent | 19356453cbfb734bc60a1853c10e3095d05e0342 (diff) | |
| download | rust-51de5908c94056f54cd54a1b03c84efea2b40b19.tar.gz rust-51de5908c94056f54cd54a1b03c84efea2b40b19.zip | |
Add tracking issue number for pin_static_ref.
| -rw-r--r-- | library/core/src/pin.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/pin.rs b/library/core/src/pin.rs index b73cd046e5a..0b9c733f7fe 100644 --- a/library/core/src/pin.rs +++ b/library/core/src/pin.rs @@ -786,7 +786,7 @@ impl<T: ?Sized> Pin<&'static T> { /// /// This is safe, because `T` is borrowed for the `'static` lifetime, which /// never ends. - #[unstable(feature = "pin_static_ref", issue = "none")] + #[unstable(feature = "pin_static_ref", issue = "78186")] #[rustc_const_unstable(feature = "const_pin", issue = "76654")] pub const fn static_ref(r: &'static T) -> Pin<&'static T> { // SAFETY: The 'static borrow guarantees the data will not be @@ -800,7 +800,7 @@ impl<T: ?Sized> Pin<&'static mut T> { /// /// This is safe, because `T` is borrowed for the `'static` lifetime, which /// never ends. - #[unstable(feature = "pin_static_ref", issue = "none")] + #[unstable(feature = "pin_static_ref", issue = "78186")] #[rustc_const_unstable(feature = "const_pin", issue = "76654")] pub const fn static_mut(r: &'static mut T) -> Pin<&'static mut T> { // SAFETY: The 'static borrow guarantees the data will not be |
