rust/src/libstd/old_io
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
..
net remove all kind annotations from closures 2015-02-04 20:06:08 -05:00
buffered.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
comm_adapters.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
extensions.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
fs.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
mem.rs rustc: Fix a number of stability lint holes 2015-02-11 12:14:59 -08:00
mod.rs rollup merge of #22127: alexcrichton/stability-holes 2015-02-11 14:02:04 -08:00
pipe.rs
process.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
result.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
stdio.rs rollup merge of #22127: alexcrichton/stability-holes 2015-02-11 14:02:04 -08:00
tempfile.rs Auto merge of #21892 - huonw:deprecate-rand, r=alexcrichton 2015-02-04 08:47:27 +00:00
test.rs rollup merge of #21830: japaric/for-cleanup 2015-02-02 11:01:12 -08:00
timer.rs for x in range(a, b) -> for x in a..b 2015-01-29 07:47:37 -05:00
util.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00