diff options
| author | Patrick Walton <[email protected]> | 2011-03-15 17:33:05 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2011-03-15 17:33:05 -0700 |
| commit | 71b6e602c54f78dc2f8f33de2d74b40879316165 (patch) | |
| tree | 87d92ce397c471e3046868b38a40ed67a69ca9f3 /src/comp/pretty/pprust.rs | |
| parent | Revert "Change the numbering of upcall functions. upcall_0 now calls a functi... (diff) | |
| download | rust-71b6e602c54f78dc2f8f33de2d74b40879316165.tar.xz rust-71b6e602c54f78dc2f8f33de2d74b40879316165.zip | |
rustc: Add an annotation for the crate definition to view_item_use
Diffstat (limited to 'src/comp/pretty/pprust.rs')
| -rw-r--r-- | src/comp/pretty/pprust.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/pretty/pprust.rs b/src/comp/pretty/pprust.rs index e59c0c3d..a25bc447 100644 --- a/src/comp/pretty/pprust.rs +++ b/src/comp/pretty/pprust.rs @@ -637,7 +637,7 @@ impure fn print_type_params(ps s, vec[ast.ty_param] params) { impure fn print_view_item(ps s, @ast.view_item item) { hbox(s); alt (item.node) { - case (ast.view_item_use(?id,?mta,_)) { + case (ast.view_item_use(?id,?mta,_,_)) { wrd1(s, "use"); wrd(s, id); if (_vec.len[@ast.meta_item](mta) > 0u) { |