File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: e0d5d034513f21859b587a0a0b043967cda62f97
2
+ refs/heads/master: d38b97a170eaea47933c30937cee5f525573116d
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5
5
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
Original file line number Diff line number Diff line change @@ -399,7 +399,7 @@ fn operator_prec(op: ast::binop) -> uint {
399
399
fn dtor_dec ( ) -> fn_decl {
400
400
let nil_t = @{ id: 0 , node: ty_nil, span: dummy_sp ( ) } ;
401
401
// dtor has one argument, of type ()
402
- { inputs: ~[ { mode: ast:: expl ( ast :: by_ref ) ,
402
+ { inputs: ~[ { mode: ast:: infer ( 0 ) , // tjc: node id???
403
403
ty: nil_t, ident: parse:: token:: special_idents:: underscore,
404
404
id: 0 } ] ,
405
405
output: nil_t, cf: return_val}
Original file line number Diff line number Diff line change
1
+ struct Foo {
2
+ x : int ,
3
+ drop { }
4
+ }
5
+
6
+ fn main ( ) { }
You can’t perform that action at this time.
0 commit comments