@@ -776,7 +776,7 @@ pub const fn type_name_of_val<T: ?Sized>(_val: &T) -> &'static str {
776
776
///////////////////////////////////////////////////////////////////////////////
777
777
778
778
/// Trait implemented by a type which can dynamically provide values based on type.
779
- #[ unstable( feature = "provide_any" , issue = "none " ) ]
779
+ #[ unstable( feature = "provide_any" , issue = "96024 " ) ]
780
780
pub trait Provider {
781
781
/// Data providers should implement this method to provide *all* values they are able to
782
782
/// provide by using `demand`.
@@ -796,7 +796,7 @@ pub trait Provider {
796
796
/// }
797
797
/// }
798
798
/// ```
799
- #[ unstable( feature = "provide_any" , issue = "none " ) ]
799
+ #[ unstable( feature = "provide_any" , issue = "96024 " ) ]
800
800
fn provide < ' a > ( & ' a self , demand : & mut Demand < ' a > ) ;
801
801
}
802
802
@@ -814,7 +814,7 @@ pub trait Provider {
814
814
/// request_value::<String, _>(provider).unwrap()
815
815
/// }
816
816
/// ```
817
- #[ unstable( feature = "provide_any" , issue = "none " ) ]
817
+ #[ unstable( feature = "provide_any" , issue = "96024 " ) ]
818
818
pub fn request_value < ' a , T , P > ( provider : & ' a P ) -> Option < T >
819
819
where
820
820
T : ' static ,
@@ -837,7 +837,7 @@ where
837
837
/// request_ref::<str, _>(provider).unwrap()
838
838
/// }
839
839
/// ```
840
- #[ unstable( feature = "provide_any" , issue = "none " ) ]
840
+ #[ unstable( feature = "provide_any" , issue = "96024 " ) ]
841
841
pub fn request_ref < ' a , T , P > ( provider : & ' a P ) -> Option < & ' a T >
842
842
where
843
843
T : ' static + ?Sized ,
@@ -865,7 +865,7 @@ where
865
865
///
866
866
/// A data provider provides values by calling this type's provide methods.
867
867
#[ allow( missing_debug_implementations) ]
868
- #[ unstable( feature = "provide_any" , issue = "none " ) ]
868
+ #[ unstable( feature = "provide_any" , issue = "96024 " ) ]
869
869
#[ repr( transparent) ]
870
870
pub struct Demand < ' a > ( dyn Erased < ' a > + ' a ) ;
871
871
@@ -887,7 +887,7 @@ impl<'a> Demand<'a> {
887
887
/// }
888
888
/// }
889
889
/// ```
890
- #[ unstable( feature = "provide_any" , issue = "none " ) ]
890
+ #[ unstable( feature = "provide_any" , issue = "96024 " ) ]
891
891
pub fn provide_value < T , F > ( & mut self , fulfil : F ) -> & mut Self
892
892
where
893
893
T : ' static ,
@@ -914,7 +914,7 @@ impl<'a> Demand<'a> {
914
914
/// }
915
915
/// }
916
916
/// ```
917
- #[ unstable( feature = "provide_any" , issue = "none " ) ]
917
+ #[ unstable( feature = "provide_any" , issue = "96024 " ) ]
918
918
pub fn provide_ref < T : ?Sized + ' static > ( & mut self , value : & ' a T ) -> & mut Self {
919
919
self . provide :: < tags:: Ref < tags:: MaybeSizedValue < T > > > ( value)
920
920
}
@@ -1034,7 +1034,7 @@ impl<'a, I: tags::Type<'a>> Erased<'a> for TaggedOption<'a, I> {
1034
1034
}
1035
1035
}
1036
1036
1037
- #[ unstable( feature = "provide_any" , issue = "none " ) ]
1037
+ #[ unstable( feature = "provide_any" , issue = "96024 " ) ]
1038
1038
impl < ' a > dyn Erased < ' a > {
1039
1039
/// Returns some reference to the dynamic value if it is tagged with `I`,
1040
1040
/// or `None` otherwise.
0 commit comments