diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-08-16 18:22:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-16 18:22:30 +0200 |
| commit | cd21715c3412dc381e386db229cb679015289359 (patch) | |
| tree | c0bba6bbb16621c3803202560d595aef2daa77ed /src/liballoc | |
| parent | b7311316fe8b6638d5d9dc07f18def8f60f0b9d2 (diff) | |
| parent | 263e3c59505a16e78b757e0ead3928a3e961a8ab (diff) | |
| download | rust-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.rs | 2 |
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)*))) } |
