Skip to content

Commit 989667e

Browse files
committed
librustc: minor missing change for crate-as-struct.
1 parent 84825ee commit 989667e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/driver/session.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ mod test {
360360
let mut attrs = ~[];
361361
if with_bin { attrs += ~[make_crate_type_attr(~"bin")]; }
362362
if with_lib { attrs += ~[make_crate_type_attr(~"lib")]; }
363-
@ast_util::respan(ast_util::dummy_sp(), {
363+
@ast_util::respan(ast_util::dummy_sp(), ast::crate_ {
364364
module: {view_items: ~[], items: ~[]},
365365
attrs: attrs,
366366
config: ~[]

0 commit comments

Comments
 (0)