auto merge of #7479 : mozilla/rust/rollup, r=thestinger

22b7eb3 r=thestinger 
28a3613 r=cmr
a0c31ec r=bstrie
ee7307e r=thestinger
b9cf6a3 r=thestinger
This commit is contained in:
bors 2013-06-28 22:25:48 -07:00
commit 4e78c1e2a8
16 changed files with 67 additions and 60 deletions

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#[mutable]
#[no_freeze]
enum Foo { A }
fn bar<T: Freeze>(_: T) {}

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#[mutable]
#[no_freeze]
struct Foo { a: int }
fn bar<T: Freeze>(_: T) {}

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#[non_sendable]
#[no_send]
enum Foo { A }
fn bar<T: Send>(_: T) {}

View file

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#[non_sendable]
#[no_send]
struct Foo { a: int }
fn bar<T: Send>(_: T) {}

View file

@ -24,7 +24,7 @@ fn main() {
}
}
let mut it = UnfoldrIterator::new(count, 0);
let mut it = UnfoldrIterator::new(0, count);
let mut i = 0;
for it.advance |counted| {
assert_eq!(counted, i);