Skip to content

Commit ee540bc

Browse files
committed
allow helper macro to expand to unstable things, if necessary.
1 parent f77c62b commit ee540bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libstd/macros.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
// SNAP 5520801
2020
#[cfg(stage0)]
2121
#[macro_export]
22+
#[allow_internal_unstable]
2223
macro_rules! __unstable_rustc_ensure_not_fmt_string_literal {
2324
($name:expr, $e:expr) => { ((), $e) }
2425
}

0 commit comments

Comments
 (0)