@@ -187,7 +187,8 @@ impl Error {
187
187
///
188
188
/// If this `Error` was constructed via `new` then this function will
189
189
/// return `Some`, otherwise it will return `None`.
190
- #[ unstable( feature = "io_error_inner" , reason = "recently added" ) ]
190
+ #[ unstable( feature = "io_error_inner" ,
191
+ reason = "recently added and requires UFCS to downcast" ) ]
191
192
pub fn get_ref ( & self ) -> Option < & ( error:: Error +Send +Sync +' static ) > {
192
193
match self . repr {
193
194
Repr :: Os ( ..) => None ,
@@ -200,7 +201,8 @@ impl Error {
200
201
///
201
202
/// If this `Error` was constructed via `new` then this function will
202
203
/// return `Some`, otherwise it will return `None`.
203
- #[ unstable( feature = "io_error_inner" , reason = "recently added" ) ]
204
+ #[ unstable( feature = "io_error_inner" ,
205
+ reason = "recently added and requires UFCS to downcast" ) ]
204
206
pub fn get_mut ( & mut self ) -> Option < & mut ( error:: Error +Send +Sync +' static ) > {
205
207
match self . repr {
206
208
Repr :: Os ( ..) => None ,
@@ -212,7 +214,8 @@ impl Error {
212
214
///
213
215
/// If this `Error` was constructed via `new` then this function will
214
216
/// return `Some`, otherwise it will return `None`.
215
- #[ unstable( feature = "io_error_inner" , reason = "recently added" ) ]
217
+ #[ unstable( feature = "io_error_inner" ,
218
+ reason = "recently added and requires UFCS to downcast" ) ]
216
219
pub fn into_inner ( self ) -> Option < Box < error:: Error +Send +Sync > > {
217
220
match self . repr {
218
221
Repr :: Os ( ..) => None ,
0 commit comments