about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-08-16 18:22:30 +0200
committerGitHub <noreply@github.com>2019-08-16 18:22:30 +0200
commitcd21715c3412dc381e386db229cb679015289359 (patch)
treec0bba6bbb16621c3803202560d595aef2daa77ed /src/liballoc
parentb7311316fe8b6638d5d9dc07f18def8f60f0b9d2 (diff)
parent263e3c59505a16e78b757e0ead3928a3e961a8ab (diff)
downloadrust-cd21715c3412dc381e386db229cb679015289359.tar.gz
rust-cd21715c3412dc381e386db229cb679015289359.zip
Rollup merge of #63613 - petrochenkov:stdhyg, r=alexcrichton
Hygienize use of built-in macros in the standard library

Same as https://github.com/rust-lang/rust/pull/61629, but for built-in macros.

Closes https://github.com/rust-lang/rust/issues/48781
r? @alexcrichton
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/macros.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/macros.rs b/src/liballoc/macros.rs
index 250c419c531..0b5e186d4c7 100644
--- a/src/liballoc/macros.rs
+++ b/src/liballoc/macros.rs
@@ -98,5 +98,5 @@ macro_rules! vec {
 #[macro_export]
 #[stable(feature = "rust1", since = "1.0.0")]
 macro_rules! format {
-    ($($arg:tt)*) => ($crate::fmt::format(format_args!($($arg)*)))
+    ($($arg:tt)*) => ($crate::fmt::format(::core::format_args!($($arg)*)))
 }