rust/src/libsyntax
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
..
ast_map remove all kind annotations from closures 2015-02-04 20:06:08 -05:00
diagnostics Refactor compilation to make it easier to use for tools 2015-02-09 18:00:56 +13:00
ext rollup merge of #22116: kmcallister/cfg_attr 2015-02-10 08:43:01 -08:00
parse rollup merge of #21918: ranma42/replace-be 2015-02-10 08:41:30 -08:00
print Tests 2015-02-10 16:54:23 +13:00
util cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
abi.rs openbsd support 2015-02-01 14:41:38 +01:00
ast.rs rollup merge of #22094: alkor/cleanup-show-string 2015-02-10 08:42:45 -08:00
ast_util.rs Libsyntax has been updated 2015-02-06 11:59:10 +01:00
attr.rs Update to last version, remove "[]" as much as possible 2015-02-06 12:03:46 +01:00
codemap.rs make codemap more robust in face of ill-formed spans. 2015-02-05 23:47:17 +01:00
config.rs Process cfg_attr right before stripping cfg 2015-02-09 10:12:14 -08:00
diagnostic.rs syntax: Fix integer underflow in diagnostic 2015-02-08 23:26:12 +01:00
feature_gate.rs Generalize all error messages with "experimental in alpha release" to 2015-02-11 14:13:33 +01:00
fold.rs rollup merge of #22116: kmcallister/cfg_attr 2015-02-10 08:43:01 -08:00
lib.rs Opt into new box_patterns feature gate in various crates. 2015-02-11 11:47:14 +01:00
owned_slice.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
ptr.rs std: Rename Show/String to Debug/Display 2015-01-20 22:36:13 -08:00
show_span.rs std: Stabilize FromStr and parse 2015-01-30 08:52:44 -08:00
std_inject.rs Fake up #![no_std] on pretty-printing; keep it out of AST 2015-02-07 10:49:58 -08:00
test.rs rustc: Fix a number of stability lint holes 2015-02-11 12:14:59 -08:00
visit.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00