title: How do I use std::collections::BitSet in stable Rust?
body: <p>I am trying to use <code>BitSet</code> data structure, but it gives me a compile error saying it was not able to find the <code>BitSet.</code> Has <code>std::collections::BitSet</code> been released in the stable version?</p>
  
  <pre><code>use std::collections::BitSet;
  
  fn main() {
      println!("Hello, world!");
  }
  </code></pre>
  
  <p>Produces the error: </p>
  
  <pre class="lang-none prettyprint-override"><code>error[E0432]: unresolved import `std::collections::BitSet`
   --&gt; src/main.rs:1:5
    |
  1 | use std::collections::BitSet;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^ no `BitSet` in `collections`
  </code></pre>