Skip to content

Commit 03b9995

Browse files
committed
Register snaps
1 parent 265a233 commit 03b9995

File tree

3 files changed

+9
-62
lines changed

3 files changed

+9
-62
lines changed

src/libcore/ops.rs

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,55 +1117,6 @@ impl<'a, T: ?Sized> DerefMut for &'a mut T {
11171117
#[lang="fn"]
11181118
#[unstable(feature = "core",
11191119
reason = "uncertain about variadic generics, input versus associated types")]
1120-
#[cfg(stage0)]
1121-
pub trait Fn<Args,Output> {
1122-
/// This is called when the call operator is used.
1123-
extern "rust-call" fn call(&self, args: Args) -> Output;
1124-
}
1125-
1126-
/// A version of the call operator that takes a mutable receiver.
1127-
#[lang="fn_mut"]
1128-
#[unstable(feature = "core",
1129-
reason = "uncertain about variadic generics, input versus associated types")]
1130-
#[cfg(stage0)]
1131-
pub trait FnMut<Args,Output> {
1132-
/// This is called when the call operator is used.
1133-
extern "rust-call" fn call_mut(&mut self, args: Args) -> Output;
1134-
}
1135-
1136-
/// A version of the call operator that takes a by-value receiver.
1137-
#[lang="fn_once"]
1138-
#[unstable(feature = "core",
1139-
reason = "uncertain about variadic generics, input versus associated types")]
1140-
#[cfg(stage0)]
1141-
pub trait FnOnce<Args,Output> {
1142-
/// This is called when the call operator is used.
1143-
extern "rust-call" fn call_once(self, args: Args) -> Output;
1144-
}
1145-
1146-
#[cfg(stage0)]
1147-
impl<F: ?Sized, A, R> FnMut<A, R> for F
1148-
where F : Fn<A, R>
1149-
{
1150-
extern "rust-call" fn call_mut(&mut self, args: A) -> R {
1151-
self.call(args)
1152-
}
1153-
}
1154-
1155-
#[cfg(stage0)]
1156-
impl<F,A,R> FnOnce<A,R> for F
1157-
where F : FnMut<A,R>
1158-
{
1159-
extern "rust-call" fn call_once(mut self, args: A) -> R {
1160-
self.call_mut(args)
1161-
}
1162-
}
1163-
1164-
/// A version of the call operator that takes an immutable receiver.
1165-
#[lang="fn"]
1166-
#[unstable(feature = "core",
1167-
reason = "uncertain about variadic generics, input versus associated types")]
1168-
#[cfg(not(stage0))]
11691120
pub trait Fn<Args> {
11701121
type Output;
11711122

@@ -1177,7 +1128,6 @@ pub trait Fn<Args> {
11771128
#[lang="fn_mut"]
11781129
#[unstable(feature = "core",
11791130
reason = "uncertain about variadic generics, input versus associated types")]
1180-
#[cfg(not(stage0))]
11811131
pub trait FnMut<Args> {
11821132
type Output;
11831133

@@ -1189,15 +1139,13 @@ pub trait FnMut<Args> {
11891139
#[lang="fn_once"]
11901140
#[unstable(feature = "core",
11911141
reason = "uncertain about variadic generics, input versus associated types")]
1192-
#[cfg(not(stage0))]
11931142
pub trait FnOnce<Args> {
11941143
type Output;
11951144

11961145
/// This is called when the call operator is used.
11971146
extern "rust-call" fn call_once(self, args: Args) -> Self::Output;
11981147
}
11991148

1200-
#[cfg(not(stage0))]
12011149
impl<F: ?Sized, A> FnMut<A> for F
12021150
where F : Fn<A>
12031151
{
@@ -1208,7 +1156,6 @@ impl<F: ?Sized, A> FnMut<A> for F
12081156
}
12091157
}
12101158

1211-
#[cfg(not(stage0))]
12121159
impl<F,A> FnOnce<A> for F
12131160
where F : FnMut<A>
12141161
{

src/libcore/str/mod.rs

Lines changed: 0 additions & 9 deletions
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

Lines changed: 9 additions & 0 deletions
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)