Skip to content

Commit 1934eaf

Browse files
committed
Rename alloc::force_expr to __rust_force_expr.
1 parent 8f28a32 commit 1934eaf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

library/alloc/src/macros.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@
4040
#[allow_internal_unstable(box_syntax, liballoc_internals)]
4141
macro_rules! vec {
4242
() => (
43-
$crate::force_expr!($crate::vec::Vec::new())
43+
$crate::__rust_force_expr!($crate::vec::Vec::new())
4444
);
4545
($elem:expr; $n:expr) => (
46-
$crate::force_expr!($crate::vec::from_elem($elem, $n))
46+
$crate::__rust_force_expr!($crate::vec::from_elem($elem, $n))
4747
);
4848
($($x:expr),+ $(,)?) => (
49-
$crate::force_expr!(<[_]>::into_vec(box [$($x),+]))
49+
$crate::__rust_force_expr!(<[_]>::into_vec(box [$($x),+]))
5050
);
5151
}
5252

@@ -116,7 +116,7 @@ macro_rules! format {
116116
#[doc(hidden)]
117117
#[macro_export]
118118
#[unstable(feature = "liballoc_internals", issue = "none", reason = "implementation detail")]
119-
macro_rules! force_expr {
119+
macro_rules! __rust_force_expr {
120120
($e:expr) => {
121121
$e
122122
};

0 commit comments

Comments
 (0)