File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed
branches/dist-snap/src/librustc/middle Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ refs/heads/try: 457a3c991d79b971be07fce75f9d0c12848fb37c
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9
- refs/heads/dist-snap: d27918ac7c56cd3ddb89a188c389df9ed7f9689b
9
+ refs/heads/dist-snap: 6531d02b79b8ecb39055f5464451ef144827870b
10
10
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
11
11
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
12
12
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ use util::nodemap::{NodeMap, NodeSet};
27
27
use syntax:: ast;
28
28
use syntax:: ast_map;
29
29
use syntax:: ast_util:: { is_local, local_def, PostExpansionMethod } ;
30
- use syntax:: attr;
31
30
use syntax:: codemap:: Span ;
32
31
use syntax:: parse:: token;
33
32
use syntax:: owned_slice:: OwnedSlice ;
@@ -786,12 +785,6 @@ impl<'a> PrivacyVisitor<'a> {
786
785
787
786
impl < ' a > Visitor < ( ) > for PrivacyVisitor < ' a > {
788
787
fn visit_item ( & mut self , item : & ast:: Item , _: ( ) ) {
789
- // Do not check privacy inside items with the resolve_unexported
790
- // attribute. This is used for the test runner.
791
- if attr:: contains_name ( item. attrs . as_slice ( ) , "!resolve_unexported" ) {
792
- return ;
793
- }
794
-
795
788
let orig_curitem = replace ( & mut self . curitem , item. id ) ;
796
789
visit:: walk_item ( self , item, ( ) ) ;
797
790
self . curitem = orig_curitem;
You can’t perform that action at this time.
0 commit comments