Register new snapshots

This commit is contained in:
Alex Crichton 2014-04-07 13:30:48 -07:00
parent c83afb9719
commit c3ea3e439f
74 changed files with 194 additions and 208 deletions

View file

@ -152,7 +152,7 @@ struct Foo {
}
struct FooClosure<'a> {
myfunc: 'a |int, uint| -> i32
myfunc: |int, uint|: 'a -> i32
}
fn a(a: int, b: uint) -> i32 {

View file

@ -3460,7 +3460,7 @@ fn add(x: int, y: int) -> int {
let mut x = add(5,7);
type Binop<'a> = 'a |int,int| -> int;
type Binop<'a> = |int,int|: 'a -> int;
let bo: Binop = add;
x = bo(5,7);
~~~~