diff options
| author | Without Boats <boats@mozilla.com> | 2018-08-20 23:27:25 +0200 |
|---|---|---|
| committer | Without Boats <boats@mozilla.com> | 2018-08-20 23:27:25 +0200 |
| commit | a49e1ed0cf3300a998499a125ed4b4d9464bc0cd (patch) | |
| tree | 1ed35955e5c66a47ad18c63177e621dd5b51dffc /src | |
| parent | ca258c5d1fa13523c40ff8b2f46fa33c79110579 (diff) | |
| download | rust-a49e1ed0cf3300a998499a125ed4b4d9464bc0cd.tar.gz rust-a49e1ed0cf3300a998499a125ed4b4d9464bc0cd.zip | |
Fix feature name.
Diffstat (limited to 'src')
| -rw-r--r-- | src/libstd/error.rs | 2 |
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` |
