about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark-Simulacrum <mark.simulacrum@gmail.com>2016-10-28 19:35:30 -0600
committerMark-Simulacrum <mark.simulacrum@gmail.com>2016-10-28 19:35:30 -0600
commit709a06bc9247936ef64554698716ae554a5ab946 (patch)
tree751be86fdf0439ce9d434adbed39d367797867f0
parent421b595f25e5dbab9c967afd03929d013f346322 (diff)
downloadrust-709a06bc9247936ef64554698716ae554a5ab946.tar.gz
rust-709a06bc9247936ef64554698716ae554a5ab946.zip
Remove outdated fixme comment.
-rw-r--r--src/librustc_privacy/lib.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/librustc_privacy/lib.rs b/src/librustc_privacy/lib.rs
index 4ffe2fe3856..77b3e76fc54 100644
--- a/src/librustc_privacy/lib.rs
+++ b/src/librustc_privacy/lib.rs
@@ -859,9 +859,6 @@ impl<'a, 'tcx, 'v> Visitor<'v> for ObsoleteVisiblePrivateTypesVisitor<'a, 'tcx>
     // expression/block context can't possibly contain exported things.
     // (Making them no-ops stops us from traversing the whole AST without
     // having to be super careful about our `walk_...` calls above.)
-    // FIXME(#29524): Unfortunately this ^^^ is not true, blocks can contain
-    // exported items (e.g. impls) and actual code in rustc itself breaks
-    // if we don't traverse blocks in `EmbargoVisitor`
     fn visit_block(&mut self, _: &hir::Block) {}
     fn visit_expr(&mut self, _: &hir::Expr) {}
 }