rust/src/libcollections
Alex Crichton 84e5c11785 rollup merge of #22127: alexcrichton/stability-holes
There are a number of holes that the stability lint did not previously cover,
including:

* Types
* Bounds on type parameters on functions and impls
* Where clauses
* Imports
* Patterns (structs and enums)

These holes have all been fixed by overriding the `visit_path` function on the
AST visitor instead of a few specialized cases. This change also necessitated a
few stability changes:

* The `collections::fmt` module is now stable (it was already supposed to be).
* The `thread_local:👿:Key` type is now stable (it was already supposed to
  be).
* The `std::rt::{begin_unwind, begin_unwind_fmt}` functions are now stable.
  These are required via the `panic!` macro.
* The `std::old_io::stdio::{println, println_args}` functions are now stable.
  These are required by the `print!` and `println!` macros.
* The `ops::{FnOnce, FnMut, Fn}` traits are now `#[stable]`. This is required to
  make bounds with these traits stable. Note that manual implementations of
  these traits are still gated by default, this stability only allows bounds
  such as `F: FnOnce()`.

Closes #8962
Closes #16360
Closes #20327
2015-02-11 14:02:04 -08:00
..
btree Add core::marker::PhantomData. 2015-02-11 13:51:09 +01:00
bench.rs misc collections code cleanup 2015-02-05 18:22:03 -05:00
binary_heap.rs std: Rename IntoIterator::Iter to IntoIter 2015-02-09 15:58:13 -08:00
bit.rs std: Rename IntoIterator::Iter to IntoIter 2015-02-09 15:58:13 -08:00
dlist.rs std: Rename IntoIterator::Iter to IntoIter 2015-02-09 15:58:13 -08:00
enum_set.rs std: Rename IntoIterator::Iter to IntoIter 2015-02-09 15:58:13 -08:00
fmt.rs rustc: Fix a number of stability lint holes 2015-02-11 12:14:59 -08:00
lib.rs Opt into new box_patterns feature gate in various crates. 2015-02-11 11:47:14 +01:00
macros.rs Don't use std:: paths in syntax extensions when compiling a #![no_std] crate 2015-02-07 10:49:57 -08:00
ring_buf.rs std: Rename IntoIterator::Iter to IntoIter 2015-02-09 15:58:13 -08:00
slice.rs remove int_uint feature from libcollections 2015-02-06 19:42:33 +05:30
str.rs Auto merge of #21937 - alexcrichton:issue-21929, r=aturon 2015-02-10 06:39:31 +00:00
string.rs Rollup merge of #21969 - Gankro:collections-cleanup, r=alexcrichton 2015-02-06 16:21:09 +05:30
vec_map.rs std: Rename IntoIterator::Iter to IntoIter 2015-02-09 15:58:13 -08:00
vec.rs Add core::marker::PhantomData. 2015-02-11 13:51:09 +01:00