about summary refs log tree commit diff
path: root/src/libstd/error.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-08-16 05:10:23 +0000
committerbors <bors@rust-lang.org>2015-08-16 05:10:23 +0000
commit9165a4e2dcaaa878a33379c6ff097c68f0ca0485 (patch)
tree26f976828c10dbfb3e895569bfa434c6bc6e650b /src/libstd/error.rs
parentfc7efab3ab48e119e1a59281c26e666634ad1224 (diff)
parent8ef1e3b77f0f0c365c6c11ebc5095997c8f0cd15 (diff)
downloadrust-9165a4e2dcaaa878a33379c6ff097c68f0ca0485.tar.gz
rust-9165a4e2dcaaa878a33379c6ff097c68f0ca0485.zip
Auto merge of #27818 - alexcrichton:tag-all-the-issues, r=aturon
This commit turns `#[unstable]` attributes missing an `issue` annotation into a hard error. This will require the libs team to ensure that there's a tracking issue for all unstable features in the standard library.

All existing unstable features have had issues created and they've all been updated. Yay!

Closes #26868
Diffstat (limited to 'src/libstd/error.rs')
-rw-r--r--src/libstd/error.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/error.rs b/src/libstd/error.rs
index f0f481d3721..46d03169b2d 100644
--- a/src/libstd/error.rs
+++ b/src/libstd/error.rs
@@ -78,7 +78,8 @@ pub trait Error: Debug + Display + Reflect {
     /// Get the `TypeId` of `self`
     #[doc(hidden)]
     #[unstable(feature = "error_type_id",
-               reason = "unclear whether to commit to this public implementation detail")]
+               reason = "unclear whether to commit to this public implementation detail",
+               issue = "27745")]
     fn type_id(&self) -> TypeId where Self: 'static {
         TypeId::of::<Self>()
     }