]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_mir/build/mod.rs
Fix the fallout
[rust.git] / src / librustc_mir / build / mod.rs
index 45368b5a68d22f84bea638ec8cf65c6ce34d3a14..bd94f4e5bf2577e411fe73793a0f2e6b6deeb38d 100644 (file)
@@ -18,7 +18,7 @@
 use syntax::ast;
 use syntax::codemap::Span;
 
-struct Builder<'a, 'tcx: 'a> {
+pub struct Builder<'a, 'tcx: 'a> {
     hir: Cx<'a, 'tcx>,
     cfg: CFG<'tcx>,
     scopes: Vec<scope::Scope<'tcx>>,
@@ -40,7 +40,7 @@ struct CFG<'tcx> {
 // convenient.
 
 #[must_use] // if you don't use one of these results, you're leaving a dangling edge
-struct BlockAnd<T>(BasicBlock, T);
+pub struct BlockAnd<T>(BasicBlock, T);
 
 trait BlockAndExtension {
     fn and<T>(self, v: T) -> BlockAnd<T>;