Change debuginfo to not use an option for the output type...

...now without a random libuv change.
This commit is contained in:
Tim Chevalier
2013-01-22 15:13:23 -08:00
parent a36eacc4f9
commit 10260bee38
2 changed files with 9 additions and 8 deletions

View File

@@ -440,8 +440,10 @@ fn operator_prec(op: ast::binop) -> uint {
}
}
fn dtor_ty() -> @ast::Ty { @ast::Ty {id: 0, node: ty_nil, span: dummy_sp()} }
fn dtor_dec() -> fn_decl {
let nil_t = @ast::Ty { id: 0, node: ty_nil, span: dummy_sp() };
let nil_t = dtor_ty();
// dtor has no args
ast::fn_decl {
inputs: ~[],