From a49e1ed0cf3300a998499a125ed4b4d9464bc0cd Mon Sep 17 00:00:00 2001 From: Without Boats Date: Mon, 20 Aug 2018 23:27:25 +0200 Subject: Fix feature name. --- src/libstd/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd') 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` -- cgit 1.4.1-3-g733a5