auto merge of #7479 : mozilla/rust/rollup, r=thestinger
22b7eb3r=thestinger28a3613r=cmra0c31ecr=bstrieee7307er=thestingerb9cf6a3r=thestinger
This commit is contained in:
commit
4e78c1e2a8
16 changed files with 67 additions and 60 deletions
|
|
@ -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) {}
|
||||
|
|
|
|||
|
|
@ -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) {}
|
||||
|
|
|
|||
|
|
@ -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) {}
|
||||
|
|
|
|||
|
|
@ -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) {}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue