Skip to content

Commit e6a1f80

Browse files
committed
---
yaml --- r: 233427 b: refs/heads/beta c: b7dcf27 h: refs/heads/master i: 233425: 81c4d3c 233423: 8a94896 v: v3
1 parent 4ea231a commit e6a1f80

30 files changed

+175
-102
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
2323
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
2424
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26-
refs/heads/beta: 6634777ae0a89a535d7b43cd95c227724818a260
26+
refs/heads/beta: b7dcf272d90657bfea13e54939ee04fed7c7f5f0
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
2828
refs/heads/tmp: 370fe2786109360f7c35b8ba552b83b773dd71d6
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

branches/beta/src/libcore/any.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ use marker::{Reflect, Sized};
9191
pub trait Any: Reflect + 'static {
9292
/// Gets the `TypeId` of `self`.
9393
#[unstable(feature = "get_type_id",
94-
reason = "this method will likely be replaced by an associated static")]
94+
reason = "this method will likely be replaced by an associated static",
95+
issue = "27745")]
9596
fn get_type_id(&self) -> TypeId;
9697
}
9798

branches/beta/src/libcore/array.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
1717
#![unstable(feature = "fixed_size_array",
1818
reason = "traits and impls are better expressed through generic \
19-
integer constants")]
19+
integer constants",
20+
issue = "27778")]
2021

2122
use clone::Clone;
2223
use cmp::{PartialEq, Eq, PartialOrd, Ord, Ordering};

branches/beta/src/libcore/cell.rs

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ impl<T:Copy> Cell<T> {
230230
/// let uc = unsafe { c.as_unsafe_cell() };
231231
/// ```
232232
#[inline]
233-
#[unstable(feature = "as_unsafe_cell")]
233+
#[unstable(feature = "as_unsafe_cell", issue = "27708")]
234234
pub unsafe fn as_unsafe_cell<'a>(&'a self) -> &'a UnsafeCell<T> {
235235
&self.value
236236
}
@@ -278,7 +278,7 @@ pub struct RefCell<T: ?Sized> {
278278

279279
/// An enumeration of values returned from the `state` method on a `RefCell<T>`.
280280
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
281-
#[unstable(feature = "borrow_state")]
281+
#[unstable(feature = "borrow_state", issue = "27733")]
282282
pub enum BorrowState {
283283
/// The cell is currently being read, there is at least one active `borrow`.
284284
Reading,
@@ -340,7 +340,7 @@ impl<T: ?Sized> RefCell<T> {
340340
///
341341
/// The returned value can be dispatched on to determine if a call to
342342
/// `borrow` or `borrow_mut` would succeed.
343-
#[unstable(feature = "borrow_state")]
343+
#[unstable(feature = "borrow_state", issue = "27733")]
344344
#[inline]
345345
pub fn borrow_state(&self) -> BorrowState {
346346
match self.borrow.get() {
@@ -449,7 +449,7 @@ impl<T: ?Sized> RefCell<T> {
449449
///
450450
/// This function is `unsafe` because `UnsafeCell`'s field is public.
451451
#[inline]
452-
#[unstable(feature = "as_unsafe_cell")]
452+
#[unstable(feature = "as_unsafe_cell", issue = "27708")]
453453
pub unsafe fn as_unsafe_cell<'a>(&'a self) -> &'a UnsafeCell<T> {
454454
&self.value
455455
}
@@ -556,7 +556,8 @@ impl<'b, T: ?Sized> Ref<'b, T> {
556556
/// with the widespread use of `r.borrow().clone()` to clone the contents of
557557
/// a `RefCell`.
558558
#[unstable(feature = "cell_extras",
559-
reason = "likely to be moved to a method, pending language changes")]
559+
reason = "likely to be moved to a method, pending language changes",
560+
issue = "27746")]
560561
#[inline]
561562
pub fn clone(orig: &Ref<'b, T>) -> Ref<'b, T> {
562563
Ref {
@@ -585,7 +586,8 @@ impl<'b, T: ?Sized> Ref<'b, T> {
585586
/// let b2: Ref<u32> = Ref::map(b1, |t| &t.0);
586587
/// assert_eq!(*b2, 5)
587588
/// ```
588-
#[unstable(feature = "cell_extras", reason = "recently added")]
589+
#[unstable(feature = "cell_extras", reason = "recently added",
590+
issue = "27746")]
589591
#[inline]
590592
pub fn map<U: ?Sized, F>(orig: Ref<'b, T>, f: F) -> Ref<'b, U>
591593
where F: FnOnce(&T) -> &U
@@ -616,7 +618,8 @@ impl<'b, T: ?Sized> Ref<'b, T> {
616618
/// let b2: Ref<u32> = Ref::filter_map(b1, |o| o.as_ref().ok()).unwrap();
617619
/// assert_eq!(*b2, 5)
618620
/// ```
619-
#[unstable(feature = "cell_extras", reason = "recently added")]
621+
#[unstable(feature = "cell_extras", reason = "recently added",
622+
issue = "27746")]
620623
#[inline]
621624
pub fn filter_map<U: ?Sized, F>(orig: Ref<'b, T>, f: F) -> Option<Ref<'b, U>>
622625
where F: FnOnce(&T) -> Option<&U>
@@ -653,7 +656,8 @@ impl<'b, T: ?Sized> RefMut<'b, T> {
653656
/// }
654657
/// assert_eq!(*c.borrow(), (42, 'b'));
655658
/// ```
656-
#[unstable(feature = "cell_extras", reason = "recently added")]
659+
#[unstable(feature = "cell_extras", reason = "recently added",
660+
issue = "27746")]
657661
#[inline]
658662
pub fn map<U: ?Sized, F>(orig: RefMut<'b, T>, f: F) -> RefMut<'b, U>
659663
where F: FnOnce(&mut T) -> &mut U
@@ -690,7 +694,8 @@ impl<'b, T: ?Sized> RefMut<'b, T> {
690694
/// }
691695
/// assert_eq!(*c.borrow(), Ok(42));
692696
/// ```
693-
#[unstable(feature = "cell_extras", reason = "recently added")]
697+
#[unstable(feature = "cell_extras", reason = "recently added",
698+
issue = "27746")]
694699
#[inline]
695700
pub fn filter_map<U: ?Sized, F>(orig: RefMut<'b, T>, f: F) -> Option<RefMut<'b, U>>
696701
where F: FnOnce(&mut T) -> Option<&mut U>

branches/beta/src/libcore/char.rs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ pub fn from_u32(i: u32) -> Option<char> {
9191
/// Converts a `u32` to an `char`, not checking whether it is a valid unicode
9292
/// codepoint.
9393
#[inline]
94-
#[unstable(feature = "char_from_unchecked", reason = "recently added API")]
94+
#[unstable(feature = "char_from_unchecked", reason = "recently added API",
95+
issue = "27781")]
9596
pub unsafe fn from_u32_unchecked(i: u32) -> char {
9697
transmute(i)
9798
}
@@ -139,7 +140,8 @@ pub fn from_digit(num: u32, radix: u32) -> Option<char> {
139140
#[allow(missing_docs)] // docs in libunicode/u_char.rs
140141
#[doc(hidden)]
141142
#[unstable(feature = "core_char_ext",
142-
reason = "the stable interface is `impl char` in later crate")]
143+
reason = "the stable interface is `impl char` in later crate",
144+
issue = "27701")]
143145
pub trait CharExt {
144146
fn is_digit(self, radix: u32) -> bool;
145147
fn to_digit(self, radix: u32) -> Option<u32>;
@@ -230,7 +232,8 @@ impl CharExt for char {
230232
/// and a `None` will be returned.
231233
#[inline]
232234
#[unstable(feature = "char_internals",
233-
reason = "this function should not be exposed publicly")]
235+
reason = "this function should not be exposed publicly",
236+
issue = "0")]
234237
#[doc(hidden)]
235238
pub fn encode_utf8_raw(code: u32, dst: &mut [u8]) -> Option<usize> {
236239
// Marked #[inline] to allow llvm optimizing it away
@@ -264,7 +267,8 @@ pub fn encode_utf8_raw(code: u32, dst: &mut [u8]) -> Option<usize> {
264267
/// and a `None` will be returned.
265268
#[inline]
266269
#[unstable(feature = "char_internals",
267-
reason = "this function should not be exposed publicly")]
270+
reason = "this function should not be exposed publicly",
271+
issue = "0")]
268272
#[doc(hidden)]
269273
pub fn encode_utf16_raw(mut ch: u32, dst: &mut [u16]) -> Option<usize> {
270274
// Marked #[inline] to allow llvm optimizing it away

branches/beta/src/libcore/fmt/builders.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ impl<'a, 'b: 'a> DebugTuple<'a, 'b> {
177177
}
178178

179179
/// Returns the wrapped `Formatter`.
180-
#[unstable(feature = "debug_builder_formatter", reason = "recently added")]
180+
#[unstable(feature = "debug_builder_formatter", reason = "recently added",
181+
issue = "27782")]
181182
pub fn formatter(&mut self) -> &mut fmt::Formatter<'b> {
182183
&mut self.fmt
183184
}

branches/beta/src/libcore/fmt/mod.rs

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ pub use self::builders::{DebugStruct, DebugTuple, DebugSet, DebugList, DebugMap}
3333
mod num;
3434
mod builders;
3535

36-
#[unstable(feature = "fmt_internals", reason = "internal to format_args!")]
36+
#[unstable(feature = "fmt_internals", reason = "internal to format_args!",
37+
issue = "0")]
3738
#[doc(hidden)]
3839
pub mod rt {
3940
pub mod v1;
@@ -146,7 +147,8 @@ enum Void {}
146147
/// compile time it is ensured that the function and the value have the correct
147148
/// types, and then this struct is used to canonicalize arguments to one type.
148149
#[derive(Copy)]
149-
#[unstable(feature = "fmt_internals", reason = "internal to format_args!")]
150+
#[unstable(feature = "fmt_internals", reason = "internal to format_args!",
151+
issue = "0")]
150152
#[doc(hidden)]
151153
pub struct ArgumentV1<'a> {
152154
value: &'a Void,
@@ -166,7 +168,8 @@ impl<'a> ArgumentV1<'a> {
166168
}
167169

168170
#[doc(hidden)]
169-
#[unstable(feature = "fmt_internals", reason = "internal to format_args!")]
171+
#[unstable(feature = "fmt_internals", reason = "internal to format_args!",
172+
issue = "0")]
170173
pub fn new<'b, T>(x: &'b T,
171174
f: fn(&T, &mut Formatter) -> Result) -> ArgumentV1<'b> {
172175
unsafe {
@@ -178,7 +181,8 @@ impl<'a> ArgumentV1<'a> {
178181
}
179182

180183
#[doc(hidden)]
181-
#[unstable(feature = "fmt_internals", reason = "internal to format_args!")]
184+
#[unstable(feature = "fmt_internals", reason = "internal to format_args!",
185+
issue = "0")]
182186
pub fn from_usize(x: &usize) -> ArgumentV1 {
183187
ArgumentV1::new(x, ArgumentV1::show_usize)
184188
}
@@ -201,7 +205,8 @@ impl<'a> Arguments<'a> {
201205
/// When using the format_args!() macro, this function is used to generate the
202206
/// Arguments structure.
203207
#[doc(hidden)] #[inline]
204-
#[unstable(feature = "fmt_internals", reason = "internal to format_args!")]
208+
#[unstable(feature = "fmt_internals", reason = "internal to format_args!",
209+
issue = "0")]
205210
pub fn new_v1(pieces: &'a [&'a str],
206211
args: &'a [ArgumentV1<'a>]) -> Arguments<'a> {
207212
Arguments {
@@ -218,7 +223,8 @@ impl<'a> Arguments<'a> {
218223
/// created with `argumentusize`. However, failing to do so doesn't cause
219224
/// unsafety, but will ignore invalid .
220225
#[doc(hidden)] #[inline]
221-
#[unstable(feature = "fmt_internals", reason = "internal to format_args!")]
226+
#[unstable(feature = "fmt_internals", reason = "internal to format_args!",
227+
issue = "0")]
222228
pub fn new_v1_formatted(pieces: &'a [&'a str],
223229
args: &'a [ArgumentV1<'a>],
224230
fmt: &'a [rt::v1::Argument]) -> Arguments<'a> {
@@ -1077,19 +1083,23 @@ impl<'a> Formatter<'a> {
10771083
pub fn flags(&self) -> u32 { self.flags }
10781084

10791085
/// Character used as 'fill' whenever there is alignment
1080-
#[unstable(feature = "fmt_flags", reason = "method was just created")]
1086+
#[unstable(feature = "fmt_flags", reason = "method was just created",
1087+
issue = "27726")]
10811088
pub fn fill(&self) -> char { self.fill }
10821089

10831090
/// Flag indicating what form of alignment was requested
1084-
#[unstable(feature = "fmt_flags", reason = "method was just created")]
1091+
#[unstable(feature = "fmt_flags", reason = "method was just created",
1092+
issue = "27726")]
10851093
pub fn align(&self) -> Alignment { self.align }
10861094

10871095
/// Optionally specified integer width that the output should be
1088-
#[unstable(feature = "fmt_flags", reason = "method was just created")]
1096+
#[unstable(feature = "fmt_flags", reason = "method was just created",
1097+
issue = "27726")]
10891098
pub fn width(&self) -> Option<usize> { self.width }
10901099

10911100
/// Optionally specified precision for numeric types
1092-
#[unstable(feature = "fmt_flags", reason = "method was just created")]
1101+
#[unstable(feature = "fmt_flags", reason = "method was just created",
1102+
issue = "27726")]
10931103
pub fn precision(&self) -> Option<usize> { self.precision }
10941104

10951105
/// Creates a `DebugStruct` builder designed to assist with creation of

branches/beta/src/libcore/fmt/num.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ radix! { UpperHex, 16, "0x", x @ 0 ... 9 => b'0' + x,
133133
/// A radix with in the range of `2..36`.
134134
#[derive(Clone, Copy, PartialEq)]
135135
#[unstable(feature = "fmt_radix",
136-
reason = "may be renamed or move to a different module")]
136+
reason = "may be renamed or move to a different module",
137+
issue = "27728")]
137138
pub struct Radix {
138139
base: u8,
139140
}
@@ -158,7 +159,8 @@ impl GenericRadix for Radix {
158159

159160
/// A helper type for formatting radixes.
160161
#[unstable(feature = "fmt_radix",
161-
reason = "may be renamed or move to a different module")]
162+
reason = "may be renamed or move to a different module",
163+
issue = "27728")]
162164
#[derive(Copy, Clone)]
163165
pub struct RadixFmt<T, R>(T, R);
164166

@@ -173,7 +175,8 @@ pub struct RadixFmt<T, R>(T, R);
173175
/// assert_eq!(format!("{}", radix(55, 36)), "1j".to_string());
174176
/// ```
175177
#[unstable(feature = "fmt_radix",
176-
reason = "may be renamed or move to a different module")]
178+
reason = "may be renamed or move to a different module",
179+
issue = "27728")]
177180
pub fn radix<T>(x: T, base: u8) -> RadixFmt<T, Radix> {
178181
RadixFmt(x, Radix::new(base))
179182
}

branches/beta/src/libcore/intrinsics.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
#![unstable(feature = "core_intrinsics",
4343
reason = "intrinsics are unlikely to ever be stabilized, instead \
4444
they should be used through stabilized interfaces \
45-
in the rest of the standard library")]
45+
in the rest of the standard library",
46+
issue = "0")]
4647
#![allow(missing_docs)]
4748

4849
use marker::Sized;

0 commit comments

Comments
 (0)