Skip to content

Commit 74554e2

Browse files
committed
---
yaml --- r: 50164 b: refs/heads/auto c: 2b83def h: refs/heads/master v: v3
1 parent 971e97e commit 74554e2

File tree

9 files changed

+349
-39
lines changed

9 files changed

+349
-39
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: 11ca2efce13eee1e273b29543a8756eb4f69f66f
17+
refs/heads/auto: 2b83defa4a48303db642f38e2a9f24460756721d
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167

branches/auto/src/libcore/core.rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ pub mod rt;
231231
// can be resolved within libcore.
232232
#[doc(hidden)]
233233
pub mod core {
234+
pub use clone;
234235
pub use cmp;
235236
pub use condition;
236237
pub use option;

branches/auto/src/libcore/either.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use result;
1717
use vec;
1818

1919
/// The either type
20-
#[deriving(Eq)]
20+
#[deriving(Clone, Eq)]
2121
pub enum Either<T, U> {
2222
Left(T),
2323
Right(U)

branches/auto/src/libcore/option.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ use iter::{BaseIter, MutableIter};
5252
#[cfg(test)] use str;
5353

5454
/// The option type
55-
#[deriving(Eq)]
55+
#[deriving(Clone, Eq)]
5656
pub enum Option<T> {
5757
None,
5858
Some(T),

branches/auto/src/libcore/path.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use option::{None, Option, Some};
2020
use str;
2121
use to_str::ToStr;
2222

23-
#[deriving(Eq)]
23+
#[deriving(Clone, Eq)]
2424
pub struct WindowsPath {
2525
host: Option<~str>,
2626
device: Option<~str>,
@@ -32,7 +32,7 @@ pub fn WindowsPath(s: &str) -> WindowsPath {
3232
GenericPath::from_str(s)
3333
}
3434

35-
#[deriving(Eq)]
35+
#[deriving(Clone, Eq)]
3636
pub struct PosixPath {
3737
is_absolute: bool,
3838
components: ~[~str],

branches/auto/src/libcore/result.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use option::{None, Option, Some};
2020
use vec;
2121

2222
/// The result type
23-
#[deriving(Eq)]
23+
#[deriving(Clone, Eq)]
2424
pub enum Result<T, U> {
2525
/// Contains the successful result value
2626
Ok(T),

branches/auto/src/librustc/middle/resolve.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4741,8 +4741,8 @@ pub impl Resolver {
47414741
let mut j = this.value_ribs.len();
47424742
while j != 0 {
47434743
j -= 1;
4744-
for this.value_ribs[j].bindings.each_key |&k| {
4745-
vec::push(&mut maybes, copy *this.session.str_of(k));
4744+
for this.value_ribs[j].bindings.each_entry |e| {
4745+
vec::push(&mut maybes, copy *this.session.str_of(e.key));
47464746
vec::push(&mut values, uint::max_value);
47474747
}
47484748
}

0 commit comments

Comments
 (0)