]> git.lizzy.rs Git - rust.git/commit
Remove hir::ScopeTarget
authorest31 <MTest31@outlook.com>
Fri, 11 May 2018 13:00:09 +0000 (15:00 +0200)
committerest31 <MTest31@outlook.com>
Tue, 15 May 2018 13:47:31 +0000 (15:47 +0200)
commit3ef481a520a06d7c580f9ff67f5d45ba70c96d50
treec28bb5475b940d5f70645fc2e7729a368908c57c
parenteca0da59850d4a9eef17c0e6c3795397102d88a3
Remove hir::ScopeTarget

When we want to implement label-break-value,
we can't really decide whether to emit ScopeTarget::Loop or
ScopeTarget::Block in the code that is supposed to create it.
So we get rid of it and reconstruct the information when
needed.
src/librustc/cfg/construct.rs
src/librustc/hir/intravisit.rs
src/librustc/hir/lowering.rs
src/librustc/hir/mod.rs
src/librustc/ich/impls_hir.rs
src/librustc/middle/liveness.rs
src/librustc_mir/hair/cx/expr.rs
src/librustc_passes/loops.rs
src/librustc_typeck/check/mod.rs