about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2015-05-28 10:34:40 -0700
committerSteven Fackler <sfackler@gmail.com>2015-05-28 10:34:40 -0700
commitaebf331431eeac6e91eba5072e2ee7f171cd1244 (patch)
tree69e10aa06d1931033d90fa86f03a0518034d9b25 /src/libstd
parentf65ba38cc4d69089575580807b262a029b53c0e2 (diff)
downloadrust-aebf331431eeac6e91eba5072e2ee7f171cd1244.tar.gz
rust-aebf331431eeac6e91eba5072e2ee7f171cd1244.zip
Mention UFCS sadness in instability messages
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/io/error.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/libstd/io/error.rs b/src/libstd/io/error.rs
index 449e49c08e5..85b957640fd 100644
--- a/src/libstd/io/error.rs
+++ b/src/libstd/io/error.rs
@@ -187,7 +187,8 @@ impl Error {
     ///
     /// If this `Error` was constructed via `new` then this function will
     /// return `Some`, otherwise it will return `None`.
-    #[unstable(feature = "io_error_inner", reason = "recently added")]
+    #[unstable(feature = "io_error_inner",
+               reason = "recently added and requires UFCS to downcast")]
     pub fn get_ref(&self) -> Option<&(error::Error+Send+Sync+'static)> {
         match self.repr {
             Repr::Os(..) => None,
@@ -200,7 +201,8 @@ impl Error {
     ///
     /// If this `Error` was constructed via `new` then this function will
     /// return `Some`, otherwise it will return `None`.
-    #[unstable(feature = "io_error_inner", reason = "recently added")]
+    #[unstable(feature = "io_error_inner",
+               reason = "recently added and requires UFCS to downcast")]
     pub fn get_mut(&mut self) -> Option<&mut (error::Error+Send+Sync+'static)> {
         match self.repr {
             Repr::Os(..) => None,
@@ -212,7 +214,8 @@ impl Error {
     ///
     /// If this `Error` was constructed via `new` then this function will
     /// return `Some`, otherwise it will return `None`.
-    #[unstable(feature = "io_error_inner", reason = "recently added")]
+    #[unstable(feature = "io_error_inner",
+               reason = "recently added and requires UFCS to downcast")]
     pub fn into_inner(self) -> Option<Box<error::Error+Send+Sync>> {
         match self.repr {
             Repr::Os(..) => None,