@@ -365,7 +365,8 @@ pub trait Error: Debug + Display {
365365 /// }
366366 /// ```
367367 #[ unstable( feature = "error_generic_member_access" , issue = "none" ) ]
368- fn provide < ' a > ( & ' a self , _req : & mut Demand < ' a > ) { }
368+ #[ allow( unused_variables) ]
369+ fn provide < ' a > ( & ' a self , req : & mut Demand < ' a > ) { }
369370}
370371
371372#[ unstable( feature = "error_generic_member_access" , issue = "none" ) ]
@@ -910,13 +911,13 @@ impl dyn Error + 'static {
910911 }
911912 }
912913
913- /// Request a reference to context of type `T`.
914+ /// Request a reference of type `T` as context about this error .
914915 #[ unstable( feature = "error_generic_member_access" , issue = "none" ) ]
915916 pub fn request_ref < T : ?Sized + ' static > ( & self ) -> Option < & T > {
916917 core:: any:: request_ref ( self )
917918 }
918919
919- /// Request a value to context of type `T`.
920+ /// Request a value of type `T` as context about this error .
920921 #[ unstable( feature = "error_generic_member_access" , issue = "none" ) ]
921922 pub fn request_value < T : ' static > ( & self ) -> Option < T > {
922923 core:: any:: request_value ( self )
@@ -945,13 +946,13 @@ impl dyn Error + 'static + Send {
945946 <dyn Error + ' static >:: downcast_mut :: < T > ( self )
946947 }
947948
948- /// Request a reference to context of type `T`.
949+ /// Request a reference of type `T` as context about this error .
949950 #[ unstable( feature = "error_generic_member_access" , issue = "none" ) ]
950951 pub fn request_ref < T : ?Sized + ' static > ( & self ) -> Option < & T > {
951952 <dyn Error + ' static >:: request_ref ( self )
952953 }
953954
954- /// Request a value to context of type `T`.
955+ /// Request a value of type `T` as context about this error .
955956 #[ unstable( feature = "error_generic_member_access" , issue = "none" ) ]
956957 pub fn request_value < T : ' static > ( & self ) -> Option < T > {
957958 <dyn Error + ' static >:: request_value ( self )
@@ -980,13 +981,13 @@ impl dyn Error + 'static + Send + Sync {
980981 <dyn Error + ' static >:: downcast_mut :: < T > ( self )
981982 }
982983
983- /// Request a reference to context of type `T`.
984+ /// Request a reference of type `T` as context about this error .
984985 #[ unstable( feature = "error_generic_member_access" , issue = "none" ) ]
985986 pub fn request_ref < T : ?Sized + ' static > ( & self ) -> Option < & T > {
986987 <dyn Error + ' static >:: request_ref ( self )
987988 }
988989
989- /// Request a value to context of type `T`.
990+ /// Request a value of type `T` as context about this error .
990991 #[ unstable( feature = "error_generic_member_access" , issue = "none" ) ]
991992 pub fn request_value < T : ' static > ( & self ) -> Option < T > {
992993 <dyn Error + ' static >:: request_value ( self )
0 commit comments