librustc: minor missing change for crate-as-struct.
This commit is contained in:
parent
84825ee310
commit
989667e545
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@ mod test {
|
|||
let mut attrs = ~[];
|
||||
if with_bin { attrs += ~[make_crate_type_attr(~"bin")]; }
|
||||
if with_lib { attrs += ~[make_crate_type_attr(~"lib")]; }
|
||||
@ast_util::respan(ast_util::dummy_sp(), {
|
||||
@ast_util::respan(ast_util::dummy_sp(), ast::crate_ {
|
||||
module: {view_items: ~[], items: ~[]},
|
||||
attrs: attrs,
|
||||
config: ~[]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue