summaryrefslogtreecommitdiff
path: root/src/ir/function.rs
diff options
context:
space:
mode:
authorNick Fitzgerald <fitzgen@gmail.com>2018-02-14 10:15:29 -0800
committerNick Fitzgerald <fitzgen@gmail.com>2018-02-14 10:31:50 -0800
commiteb415c7a7cf8c72664dbfda5a614474cda5c185c (patch)
tree3959221a147ddefd2d910be87f1058b2b28eefb0 /src/ir/function.rs
parenta09a8ff66eef3f53340201a79cc09cefacf6163e (diff)
Revert "Bump quote to 0.4"
This reverts commit 6899c275ee0ab0687ec66c490ddd1a76f8223513. The `proc_macro2` crate depends on rustc internal crates, which means that `bindgen` would need to be run under `rustup`. We can follow https://github.com/rust-lang/rust/issues/47931 to get updates on when this issue might be resolved and we can update `quote` again. Fixes #1248
Diffstat (limited to 'src/ir/function.rs')
-rw-r--r--src/ir/function.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir/function.rs b/src/ir/function.rs
index f027e47c..481ab9f7 100644
--- a/src/ir/function.rs
+++ b/src/ir/function.rs
@@ -193,7 +193,7 @@ impl Abi {
impl quote::ToTokens for Abi {
fn to_tokens(&self, tokens: &mut quote::Tokens) {
- tokens.append_all(match *self {
+ tokens.append(match *self {
Abi::C => quote! { "C" },
Abi::Stdcall => quote! { "stdcall" },
Abi::Fastcall => quote! { "fastcall" },