diff -Nru rust-wasm-bindgen-backend-0.2.51/debian/changelog rust-wasm-bindgen-backend-0.2.51/debian/changelog --- rust-wasm-bindgen-backend-0.2.51/debian/changelog 2019-10-05 07:21:02.000000000 +0000 +++ rust-wasm-bindgen-backend-0.2.51/debian/changelog 2019-11-29 12:24:27.000000000 +0000 @@ -1,3 +1,9 @@ +rust-wasm-bindgen-backend (0.2.51-1+rpi1) bullseye-staging; urgency=medium + + * use "raw identifier" for await as suggested by error message. + + -- Peter Michael Green Fri, 29 Nov 2019 12:24:27 +0000 + rust-wasm-bindgen-backend (0.2.51-1) unstable; urgency=medium * Package wasm-bindgen-backend 0.2.51 from crates.io using debcargo 2.4.0 diff -Nru rust-wasm-bindgen-backend-0.2.51/debian/patches/series rust-wasm-bindgen-backend-0.2.51/debian/patches/series --- rust-wasm-bindgen-backend-0.2.51/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ rust-wasm-bindgen-backend-0.2.51/debian/patches/series 2019-11-29 12:24:27.000000000 +0000 @@ -0,0 +1 @@ +use-raw-identifier-for-await.patch diff -Nru rust-wasm-bindgen-backend-0.2.51/debian/patches/use-raw-identifier-for-await.patch rust-wasm-bindgen-backend-0.2.51/debian/patches/use-raw-identifier-for-await.patch --- rust-wasm-bindgen-backend-0.2.51/debian/patches/use-raw-identifier-for-await.patch 1970-01-01 00:00:00.000000000 +0000 +++ rust-wasm-bindgen-backend-0.2.51/debian/patches/use-raw-identifier-for-await.patch 2019-11-29 12:24:27.000000000 +0000 @@ -0,0 +1,27 @@ +Description: use "raw identifier" for await as suggested by error message. +Author: Peter Michael Green + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: https://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: 2019-11-29 + +--- rust-wasm-bindgen-backend-0.2.51.orig/src/codegen.rs ++++ rust-wasm-bindgen-backend-0.2.51/src/codegen.rs +@@ -451,7 +451,7 @@ impl TryToTokens for ast::Export { + quote! { wasm_bindgen::JsValue }, + quote! { + wasm_bindgen_futures::future_to_promise(async { +- wasm_bindgen::__rt::IntoJsResult::into_js_result(#ret.await) ++ wasm_bindgen::__rt::IntoJsResult::into_js_result(#ret.r#await) + }).into() + }, + )