Skip to content

Commit e2df018

Browse files
committed
---
yaml --- r: 54092 b: refs/heads/dist-snap c: 2b83def h: refs/heads/master v: v3
1 parent 4ba3081 commit e2df018

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
@@ -7,7 +7,7 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
99
refs/heads/incoming: 44d4d6de762f3f9aae1fedcf454c66b79b3ad58d
10-
refs/heads/dist-snap: 11ca2efce13eee1e273b29543a8756eb4f69f66f
10+
refs/heads/dist-snap: 2b83defa4a48303db642f38e2a9f24460756721d
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1313
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/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/dist-snap/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/dist-snap/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/dist-snap/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/dist-snap/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/dist-snap/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)