diff options
| author | bors <bors@rust-lang.org> | 2016-06-05 03:12:38 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-06-05 03:12:38 -0700 |
| commit | 22b36c70f936c647a589c266060651fb7cf1164f (patch) | |
| tree | 854dde10da33410f58b3d882b03ebeb02507c256 /src/librustc_data_structures | |
| parent | f97c411548f2b64f74f2bcb84dcc37075c05e2a0 (diff) | |
| parent | d4551ece5f5a318f24c16368fcea9d67b64c41ff (diff) | |
| download | rust-22b36c70f936c647a589c266060651fb7cf1164f.tar.gz rust-22b36c70f936c647a589c266060651fb7cf1164f.zip | |
Auto merge of #33999 - scottcarr:master, r=nikomatsakis
generate fewer basic blocks for variant switches CC #33567 Adds a new field to TestKind::Switch that tracks the variants that are actually matched against. The other candidates target a common "otherwise" block.
Diffstat (limited to 'src/librustc_data_structures')
| -rw-r--r-- | src/librustc_data_structures/bitvec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_data_structures/bitvec.rs b/src/librustc_data_structures/bitvec.rs index cb648038c34..79d3f0cf688 100644 --- a/src/librustc_data_structures/bitvec.rs +++ b/src/librustc_data_structures/bitvec.rs @@ -11,7 +11,7 @@ use std::iter::FromIterator; /// A very simple BitVector type. -#[derive(Clone)] +#[derive(Clone, Debug, PartialEq)] pub struct BitVector { data: Vec<u64>, } |
