Skip to content

Commit 9e0a43c

Browse files
committed
Pretty-print item visibility modifiers
1 parent 2fe451c commit 9e0a43c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libsyntax/print/pprust.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,7 @@ fn print_item(s: ps, &&item: @ast::item) {
443443
print_outer_attributes(s, item.attrs);
444444
let ann_node = node_item(s, item);
445445
s.ann.pre(ann_node);
446+
print_visibility(s, item.vis);
446447
match item.node {
447448
ast::item_const(ty, expr) => {
448449
head(s, visibility_qualified(item.vis, ~"const"));

0 commit comments

Comments
 (0)