Skip to content

Commit d597a19

Browse files
committed
syntax: Fix fun_to_str test
1 parent 4f23850 commit d597a19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/print/pprust.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2259,7 +2259,7 @@ pub mod test {
22592259
cf: ast::return_val
22602260
};
22612261
let generics = ast_util::empty_generics();
2262-
check_equal (&fun_to_str(&decl, abba_ident, &generics, mock_interner),
2262+
check_equal (&fun_to_str(&decl, abba_ident, None, &generics, mock_interner),
22632263
&~"fn abba()");
22642264
}
22652265

0 commit comments

Comments
 (0)