Skip to content

Commit 2df03bf

Browse files
committed
core: Correct exports of intrinsic ops
1 parent dfbe697 commit 2df03bf

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/libcore/core.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,16 @@ export ptr;
4949
#[cfg(notest)]
5050
import ops::{const, copy, send, owned};
5151
#[cfg(notest)]
52-
import ops::{add, sub, mul, div, modulo, neg, bitand, bitor, bitxor, shl};
52+
import ops::{add, sub, mul, div, modulo, neg, bitand, bitor, bitxor};
5353
#[cfg(notest)]
54-
import ops::{shr, index};
54+
import ops::{shl, shr, index};
5555

5656
#[cfg(notest)]
5757
export const, copy, send, owned;
5858
#[cfg(notest)]
59-
export add, sub, mul, div, modulo, neg, bitops, index;
59+
export add, sub, mul, div, modulo, neg, bitand, bitor, bitxor;
60+
#[cfg(notest)]
61+
export shl, shr, index;
6062

6163
// Export the log levels as global constants. Higher levels mean
6264
// more-verbosity. Error is the bottom level, default logging level is

0 commit comments

Comments
 (0)