Skip to content

Commit

Permalink
Apply suggestions from review
Browse files Browse the repository at this point in the history
Co-authored-by: matthewjasper <20113453+matthewjasper@users.noreply.github.com>
  • Loading branch information
Aaron1011 and matthewjasper committed Oct 4, 2020
1 parent 33337bb commit eb94cdd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions compiler/rustc_mir_build/src/build/scope.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,14 +185,14 @@ const ROOT_NODE: DropIdx = DropIdx::from_u32(0);
/// * Drops on return and loop exit paths
///
/// Once no more nodes could be added to the tree, we lower it to MIR in one go
/// in `build_drop_tree`.
/// in `build_mir`.
#[derive(Debug)]
struct DropTree {
/// Drops in the tree.
drops: IndexVec<DropIdx, (DropData, DropIdx)>,
/// Map for finding the inverse of the `next_drop` relation:
///
/// `previous_drops[(drops[i].1, drops[i].0.local, drops[i].0.kind] == i`
/// `previous_drops[(drops[i].1, drops[i].0.local, drops[i].0.kind)] == i`
previous_drops: FxHashMap<(DropIdx, Local, DropKind), DropIdx>,
/// Edges into the `DropTree` that need to be added once it's lowered.
entry_points: Vec<(DropIdx, BasicBlock)>,
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/issue-72470-llvm-dominate.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// compile-flags: -C opt-level=3
// aux-build: issue-72470-lib.rs
// edition:2018
// check-pass
// build-pass

// Regression test for issue #72470, using the minimization
// in https://github.com/jonas-schievink/llvm-error
Expand Down

0 comments on commit eb94cdd

Please sign in to comment.