about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorWithout Boats <boats@mozilla.com>2018-08-20 23:27:25 +0200
committerWithout Boats <boats@mozilla.com>2018-08-20 23:27:25 +0200
commita49e1ed0cf3300a998499a125ed4b4d9464bc0cd (patch)
tree1ed35955e5c66a47ad18c63177e621dd5b51dffc /src/libstd
parentca258c5d1fa13523c40ff8b2f46fa33c79110579 (diff)
downloadrust-a49e1ed0cf3300a998499a125ed4b4d9464bc0cd.tar.gz
rust-a49e1ed0cf3300a998499a125ed4b4d9464bc0cd.zip
Fix feature name.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/error.rs b/src/libstd/error.rs
index af5a0571c88..86d45e03f25 100644
--- a/src/libstd/error.rs
+++ b/src/libstd/error.rs
@@ -202,7 +202,7 @@ pub trait Error: Debug + Display {
     ///     }
     /// }
     /// ```
-    #[stable(feature = "rust1", since = "1.30.0")]
+    #[stable(feature = "error_source", since = "1.30.0")]
     fn source(&self) -> Option<&(dyn Error + 'static)> { None }
 
     /// Get the `TypeId` of `self`