Skip to content

Commit 580a2ae

Browse files
committed
---
yaml --- r: 64581 b: refs/heads/snap-stage3 c: 74f4bad h: refs/heads/master i: 64579: 668a09f v: v3
1 parent 714cd89 commit 580a2ae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: f51e2ad435d7c0b4cb1bdebc5b6db29b65249125
4+
refs/heads/snap-stage3: 74f4badcab30c91b018f308d2c44641abed7d732
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/libsyntax/print/pprust.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -457,13 +457,13 @@ pub fn print_foreign_item(s: @ps, item: &ast::foreign_item) {
457457
match item.node {
458458
ast::foreign_item_fn(ref decl, purity, ref generics) => {
459459
print_fn(s, decl, Some(purity), AbiSet::Rust(), item.ident, generics, None,
460-
ast::inherited);
460+
item.vis);
461461
end(s); // end head-ibox
462462
word(s.s, ";");
463463
end(s); // end the outer fn box
464464
}
465465
ast::foreign_item_static(ref t, m) => {
466-
head(s, "static");
466+
head(s, visibility_qualified(item.vis, "static"));
467467
if m {
468468
word_space(s, "mut");
469469
}

0 commit comments

Comments
 (0)