rust/src/libsyntax
Alex Crichton 209c701bf9 std: Stablize the macros module
This commit performs a pass over the `std::macros` module, applying stability
attributes where necessary. In particular, this audits macros for patterns such
as:

* Standard use of forward-to-format-args via `$($arg:tt)*` (or `+`)
* Prevent macro-defined identifiers from leaking into expression arguments as
  hygiene is not perfectly implemented.
* Wherever possible, `$crate` is used now.

Specifically, the following actions were taken:

* The `std::macros` module itself is no longer public.
* The `panic!` macro is stable
* The `assert!` macro is stable
* The `assert_eq!` macro is stable
* The `debug_assert!` macro is stable
* The `debug_assert_eq!` macro is stable
* The `unreachable!` macro is stable after removing the extra forms to bring the
  definition in line with the `unimplemented!` macro.
* The `try!` macro is stable
* The `vec!` macro is stable

[breaking-change]
2015-01-07 12:56:16 -08:00
..
ast_map rollup merge of #20481: seanmonstar/fmt-show-string 2015-01-06 15:22:24 -08:00
diagnostics Replace full slice notation with index calls 2015-01-07 10:46:33 +13:00
ext std: Stablize the macros module 2015-01-07 12:56:16 -08:00
parse More test fixes 2015-01-06 21:26:48 -08:00
print fallout 2015-01-07 12:02:52 +13:00
util Replace full slice notation with index calls 2015-01-07 10:46:33 +13:00
abi.rs core: split into fmt::Show and fmt::String 2015-01-06 14:49:42 -08:00
ast.rs More test fixes 2015-01-06 21:26:48 -08:00
ast_util.rs rollup merge of #20609: cmr/mem 2015-01-06 15:07:48 -08:00
attr.rs rollup merge of #20481: seanmonstar/fmt-show-string 2015-01-06 15:22:24 -08:00
codemap.rs Register new snapshots 2015-01-06 15:24:24 -08:00
config.rs Add syntax for negative implementations of traits 2015-01-04 23:16:13 +01:00
diagnostic.rs rollup merge of #20481: seanmonstar/fmt-show-string 2015-01-06 15:22:24 -08:00
feature_gate.rs Test fixes and rebase conflicts 2015-01-06 16:10:37 -08:00
fold.rs rollup merge of #20482: kmcallister/macro-reform 2015-01-05 19:01:17 -08:00
lib.rs std: Stablize the macros module 2015-01-07 12:56:16 -08:00
owned_slice.rs Register new snapshots 2015-01-06 15:24:24 -08:00
ptr.rs Register new snapshots 2015-01-06 15:24:24 -08:00
show_span.rs More test fixes! 2015-01-05 22:58:37 -08:00
std_inject.rs Replace full slice notation with index calls 2015-01-07 10:46:33 +13:00
test.rs rollup merge of #20481: seanmonstar/fmt-show-string 2015-01-06 15:22:24 -08:00
visit.rs rollup merge of #20482: kmcallister/macro-reform 2015-01-05 19:01:17 -08:00