diff options
| author | bors <bors@rust-lang.org> | 2017-07-20 09:01:58 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-07-20 09:01:58 +0000 |
| commit | 1edbc3df0d051902916ead8e81db16a6f546f973 (patch) | |
| tree | 153adfbca74e792ea4dad3c0e7abd8183e129011 /src/liballoc | |
| parent | 381d51dc495e3f604a35781d8de910ad7bfaf74b (diff) | |
| parent | 465ada623a32ba1fa99921ed5c4ef8ab503df827 (diff) | |
Auto merge of #43270 - petrochenkov:fixstab, r=alexcrichton
Fix checking for missing stability annotations This was a regression from https://github.com/rust-lang/rust/pull/37676 causing "unmarked API" ICEs like https://github.com/rust-lang/rust/issues/43027. r? @alexcrichton
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs index b419aeb5ab5..80532bbdda1 100644 --- a/src/liballoc/lib.rs +++ b/src/liballoc/lib.rs @@ -244,10 +244,10 @@ mod std { pub enum Bound<T> { /// An inclusive bound. #[stable(feature = "collections_bound", since = "1.17.0")] - Included(T), + Included(#[stable(feature = "collections_bound", since = "1.17.0")] T), /// An exclusive bound. #[stable(feature = "collections_bound", since = "1.17.0")] - Excluded(T), + Excluded(#[stable(feature = "collections_bound", since = "1.17.0")] T), /// An infinite endpoint. Indicates that there is no bound in this direction. #[stable(feature = "collections_bound", since = "1.17.0")] Unbounded, |
