Skip to content

Commit ef1b33c

Browse files
committed
Register snaps
1 parent 3fbfad3 commit ef1b33c

File tree

3 files changed

+9
-62
lines changed

3 files changed

+9
-62
lines changed

src/libcore/ops.rs

-53
Original file line numberDiff line numberDiff line change
@@ -1134,55 +1134,6 @@ impl<'a, T: ?Sized> DerefMut for &'a mut T {
11341134
#[lang="fn"]
11351135
#[unstable(feature = "core",
11361136
reason = "uncertain about variadic generics, input versus associated types")]
1137-
#[cfg(stage0)]
1138-
pub trait Fn<Args,Output> {
1139-
/// This is called when the call operator is used.
1140-
extern "rust-call" fn call(&self, args: Args) -> Output;
1141-
}
1142-
1143-
/// A version of the call operator that takes a mutable receiver.
1144-
#[lang="fn_mut"]
1145-
#[unstable(feature = "core",
1146-
reason = "uncertain about variadic generics, input versus associated types")]
1147-
#[cfg(stage0)]
1148-
pub trait FnMut<Args,Output> {
1149-
/// This is called when the call operator is used.
1150-
extern "rust-call" fn call_mut(&mut self, args: Args) -> Output;
1151-
}
1152-
1153-
/// A version of the call operator that takes a by-value receiver.
1154-
#[lang="fn_once"]
1155-
#[unstable(feature = "core",
1156-
reason = "uncertain about variadic generics, input versus associated types")]
1157-
#[cfg(stage0)]
1158-
pub trait FnOnce<Args,Output> {
1159-
/// This is called when the call operator is used.
1160-
extern "rust-call" fn call_once(self, args: Args) -> Output;
1161-
}
1162-
1163-
#[cfg(stage0)]
1164-
impl<F: ?Sized, A, R> FnMut<A, R> for F
1165-
where F : Fn<A, R>
1166-
{
1167-
extern "rust-call" fn call_mut(&mut self, args: A) -> R {
1168-
self.call(args)
1169-
}
1170-
}
1171-
1172-
#[cfg(stage0)]
1173-
impl<F,A,R> FnOnce<A,R> for F
1174-
where F : FnMut<A,R>
1175-
{
1176-
extern "rust-call" fn call_once(mut self, args: A) -> R {
1177-
self.call_mut(args)
1178-
}
1179-
}
1180-
1181-
/// A version of the call operator that takes an immutable receiver.
1182-
#[lang="fn"]
1183-
#[unstable(feature = "core",
1184-
reason = "uncertain about variadic generics, input versus associated types")]
1185-
#[cfg(not(stage0))]
11861137
#[rustc_paren_sugar]
11871138
pub trait Fn<Args> {
11881139
type Output;
@@ -1195,7 +1146,6 @@ pub trait Fn<Args> {
11951146
#[lang="fn_mut"]
11961147
#[unstable(feature = "core",
11971148
reason = "uncertain about variadic generics, input versus associated types")]
1198-
#[cfg(not(stage0))]
11991149
#[rustc_paren_sugar]
12001150
pub trait FnMut<Args> {
12011151
type Output;
@@ -1208,7 +1158,6 @@ pub trait FnMut<Args> {
12081158
#[lang="fn_once"]
12091159
#[unstable(feature = "core",
12101160
reason = "uncertain about variadic generics, input versus associated types")]
1211-
#[cfg(not(stage0))]
12121161
#[rustc_paren_sugar]
12131162
pub trait FnOnce<Args> {
12141163
type Output;
@@ -1217,7 +1166,6 @@ pub trait FnOnce<Args> {
12171166
extern "rust-call" fn call_once(self, args: Args) -> Self::Output;
12181167
}
12191168

1220-
#[cfg(not(stage0))]
12211169
impl<F: ?Sized, A> FnMut<A> for F
12221170
where F : Fn<A>
12231171
{
@@ -1228,7 +1176,6 @@ impl<F: ?Sized, A> FnMut<A> for F
12281176
}
12291177
}
12301178

1231-
#[cfg(not(stage0))]
12321179
impl<F,A> FnOnce<A> for F
12331180
where F : FnMut<A>
12341181
{

src/libcore/str/mod.rs

-9
Original file line numberDiff line numberDiff line change
@@ -460,15 +460,6 @@ delegate_iter!{exact u8 : Bytes<'a>}
460460
#[derive(Copy, Clone)]
461461
struct BytesDeref;
462462

463-
#[cfg(stage0)]
464-
impl<'a> Fn(&'a u8) -> u8 for BytesDeref {
465-
#[inline]
466-
extern "rust-call" fn call(&self, (ptr,): (&'a u8,)) -> u8 {
467-
*ptr
468-
}
469-
}
470-
471-
#[cfg(not(stage0))]
472463
impl<'a> Fn<(&'a u8,)> for BytesDeref {
473464
type Output = u8;
474465

src/snapshots.txt

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
S 2015-01-28 a45e117
2+
freebsd-x86_64 08a3ce7331fd1a52466acc0598cf745a009f86f6
3+
linux-i386 66e36a3461c12e2102a7f7f241d1b0e242c704d0
4+
linux-x86_64 0ae2f5da9913cfa211a367de77d5faa2ff798918
5+
macos-i386 d1a6776f00bf5091d73816d46c7fca8617575bd8
6+
macos-x86_64 cd4d7659b93e2341316cef4b7c5c9b50d23c6bbf
7+
winnt-i386 14859dde2eb57f8c54989852ae6f807e66576338
8+
winnt-x86_64 693c0d1068debe5781e89e0d9efee85825eeae6c
9+
110
S 2015-01-27 7774359
211
freebsd-x86_64 63623b632d4f9c33ad3b3cfaeebf8e2dd8395c96
312
linux-i386 937b0b126aade54dc2c7198cad67f40d711b64ba

0 commit comments

Comments
 (0)