Skip to content

Commit 51c5537

Browse files
committed
---
yaml --- r: 218771 b: refs/heads/snap-stage3 c: aebf331 h: refs/heads/master i: 218769: bb35710 218767: ae9feb7 v: v3
1 parent 5caafcd commit 51c5537

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
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: c044791d80ea0dc5c4b57b6030a67b69f8510239
3-
refs/heads/snap-stage3: f65ba38cc4d69089575580807b262a029b53c0e2
3+
refs/heads/snap-stage3: aebf331431eeac6e91eba5072e2ee7f171cd1244
44
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/snap-stage3/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)