Infer default static/Owned bounds for unbounded heap fns/traits (#7264)
This commit is contained in:
parent
12e09afd6d
commit
7b968783d7
25 changed files with 176 additions and 86 deletions
|
@ -490,7 +490,7 @@ mod test {
|
|||
idents:~[str_to_ident("int")],
|
||||
rp: None,
|
||||
types: ~[]},
|
||||
@opt_vec::Empty, 2),
|
||||
@None, 2),
|
||||
span:sp(4,7)},
|
||||
pat: @ast::pat{id:1,
|
||||
node: ast::pat_ident(ast::bind_infer,
|
||||
|
@ -526,7 +526,7 @@ mod test {
|
|||
idents:~[str_to_ident("int")],
|
||||
rp: None,
|
||||
types: ~[]},
|
||||
@opt_vec::Empty, 2),
|
||||
@None, 2),
|
||||
span:sp(10,13)},
|
||||
pat: @ast::pat{id:1, // fixme
|
||||
node: ast::pat_ident(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue