Skip to content

Commit a18231e

Browse files
committed
---
yaml --- r: 212027 b: refs/heads/tmp c: aebf331 h: refs/heads/master i: 212025: 065f7a2 212023: 88aba40 v: v3
1 parent df1cd17 commit a18231e

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3232
refs/heads/beta: 62e70d35be3fe532c26a400b499c58a18f18dd3a
3333
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3434
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
35-
refs/heads/tmp: f65ba38cc4d69089575580807b262a029b53c0e2
35+
refs/heads/tmp: aebf331431eeac6e91eba5072e2ee7f171cd1244
3636
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3737
refs/tags/homu-tmp: b77d60adb019bb5de05e884a99f3290ec4694137
3838
refs/heads/gate: 97c84447b65164731087ea82685580cc81424412

branches/tmp/src/libstd/io/error.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,8 @@ impl Error {
187187
///
188188
/// If this `Error` was constructed via `new` then this function will
189189
/// 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")]
191192
pub fn get_ref(&self) -> Option<&(error::Error+Send+Sync+'static)> {
192193
match self.repr {
193194
Repr::Os(..) => None,
@@ -200,7 +201,8 @@ impl Error {
200201
///
201202
/// If this `Error` was constructed via `new` then this function will
202203
/// 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")]
204206
pub fn get_mut(&mut self) -> Option<&mut (error::Error+Send+Sync+'static)> {
205207
match self.repr {
206208
Repr::Os(..) => None,
@@ -212,7 +214,8 @@ impl Error {
212214
///
213215
/// If this `Error` was constructed via `new` then this function will
214216
/// 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")]
216219
pub fn into_inner(self) -> Option<Box<error::Error+Send+Sync>> {
217220
match self.repr {
218221
Repr::Os(..) => None,

0 commit comments

Comments
 (0)