add #[allow(clippy::drop_ref)]

This commit is contained in:
T5uku5hi 2019-02-09 03:47:25 +09:00
parent 1b764103f6
commit 916789336c

View File

@ -654,6 +654,7 @@ impl ToTokens for ast::ImportType {
}
#[cfg(not(all(target_arch = "wasm32", not(target_os = "emscripten"))))]
#[allow(clippy::drop_ref)]
fn instanceof(val: &JsValue) -> bool {
drop(val);
panic!("cannot check instanceof on non-wasm targets");
@ -899,7 +900,6 @@ impl TryToTokens for ast::ImportFunction {
abi_arguments.push(quote! { #exn_data_ptr: *mut u32 });
convert_ret = quote! { Ok(#convert_ret) };
exceptional_ret = quote! {
#[allow(clippy::*)]
if #exn_data[0] == 1 {
return Err(
<