rust/src/libstd/rt
Alex Crichton bbbb571fee rustc: Fix a number of stability lint 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()`.

Additionally, the compiler now has special logic to ignore its own generated
`__test` module for the `--test` harness in terms of stability.

Closes #8962
Closes #16360
Closes #20327

[breaking-change]
2015-02-11 12:14:59 -08:00
..
args.rs remove all kind annotations from closures 2015-02-04 20:06:08 -05:00
at_exit_imp.rs for x in xs.into_iter() -> for x in xs 2015-02-02 13:40:18 -05:00
backtrace.rs Fix Unicode name mangling 2015-02-04 15:32:59 +13:00
libunwind.rs openbsd support 2015-02-01 14:41:38 +01:00
macros.rs Minor fallout/update FOLLOW sets 2015-01-06 18:46:37 -05:00
mod.rs std: Add a new env module 2015-02-01 11:08:15 -08:00
unwind.rs rustc: Fix a number of stability lint holes 2015-02-11 12:14:59 -08:00
util.rs Switch missing_copy_implementations to default-allow 2015-02-03 23:31:07 -08:00