mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
Add patch for rustc regression
Filled as 63687
This commit is contained in:
parent
1f90b04cd6
commit
e64da833c9
23
patches/0019-Workaround-rust-regression.patch
Normal file
23
patches/0019-Workaround-rust-regression.patch
Normal file
@ -0,0 +1,23 @@
|
||||
From 8956b4fa10af0df2f8912f6116aa1e970dc0283a Mon Sep 17 00:00:00 2001
|
||||
From: bjorn3 <bjorn3@users.noreply.github.com>
|
||||
Date: Sun, 18 Aug 2019 17:44:47 +0200
|
||||
Subject: [PATCH] Workaround rust regression
|
||||
|
||||
---
|
||||
src/liballoc/macros.rs | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/liballoc/macros.rs b/src/liballoc/macros.rs
|
||||
index 0b5e186..250c419 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(::core::format_args!($($arg)*)))
|
||||
+ ($($arg:tt)*) => ($crate::fmt::format(format_args!($($arg)*)))
|
||||
}
|
||||
--
|
||||
2.20.1 (Apple Git-117)
|
||||
|
Loading…
Reference in New Issue
Block a user