diff options
| author | Ashley Williams <ashley666ashley@gmail.com> | 2016-07-27 10:47:19 -0700 |
|---|---|---|
| committer | Ashley Williams <ashley666ashley@gmail.com> | 2016-09-21 14:38:26 +0200 |
| commit | 3d8d55787b2c0f5b1aba01b08da13bf0d612818c (patch) | |
| tree | a87b495fd37b6bcff42898432ca45bf54d7cd90b /src/libstd/lib.rs | |
| parent | c772948b687488a087356cb91432425662e034b9 (diff) | |
| download | rust-3d8d55787b2c0f5b1aba01b08da13bf0d612818c.tar.gz rust-3d8d55787b2c0f5b1aba01b08da13bf0d612818c.zip | |
add assert_ne and debug_assert_ne macros
Diffstat (limited to 'src/libstd/lib.rs')
| -rw-r--r-- | src/libstd/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 115a24fc83c..912045453e0 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -304,8 +304,8 @@ use prelude::v1::*; // We want to reexport a few macros from core but libcore has already been // imported by the compiler (via our #[no_std] attribute) In this case we just // add a new crate name so we can attach the reexports to it. -#[macro_reexport(assert, assert_eq, debug_assert, debug_assert_eq, - unreachable, unimplemented, write, writeln, try)] +#[macro_reexport(assert, assert_eq, assert_ne, debug_assert, debug_assert_eq, + debug_assert_ne, unreachable, unimplemented, write, writeln, try)] extern crate core as __core; #[macro_use] |
