diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-09-11 17:46:20 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-09-11 19:25:43 -0700 |
| commit | ea01ee2e9e161a7028b98848c071e5fe9c30c7f7 (patch) | |
| tree | 2d56840d3f626855e36fe824424453d228dcfdf3 /src/libsyntax/print | |
| parent | fb851242b7b47546ae591b75642361a494536a53 (diff) | |
| download | rust-ea01ee2e9e161a7028b98848c071e5fe9c30c7f7.tar.gz rust-ea01ee2e9e161a7028b98848c071e5fe9c30c7f7.zip | |
Convert 'use' to 'extern mod'. Remove old 'use' syntax
Diffstat (limited to 'src/libsyntax/print')
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index 62ec882e345..46fbaed8b5d 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -1747,7 +1747,7 @@ fn print_view_item(s: ps, item: @ast::view_item) { print_outer_attributes(s, item.attrs); match item.node { ast::view_item_use(id, mta, _) => { - head(s, ~"use"); + head(s, ~"extern mod"); print_ident(s, id); if vec::len(mta) > 0u { popen(s); |
