Skip to content

Commit daea54d

Browse files
committed
---
yaml --- r: 24164 b: refs/heads/master c: 101bc62 h: refs/heads/master v: v3
1 parent 4fa97c8 commit daea54d

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 540934980a9d7c62dd30675946ba1dbb96aee163
2+
refs/heads/master: 101bc62ad91927e7fd9cf58ee431adf06574e2a7
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/src/libsyntax/ast_util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ fn operator_prec(op: ast::binop) -> uint {
399399
fn dtor_dec() -> fn_decl {
400400
let nil_t = @{id: 0, node: ty_nil, span: dummy_sp()};
401401
// dtor has one argument, of type ()
402-
{inputs: ~[{mode: ast::infer(0), // tjc: node id???
402+
{inputs: ~[{mode: ast::expl(ast::by_ref),
403403
ty: nil_t, ident: parse::token::special_idents::underscore,
404404
id: 0}],
405405
output: nil_t, cf: return_val}

trunk/src/test/run-pass/dtor-explicit-mode.rs

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)