#[wasm_bindgen]
macro triggers clippy::extra_unused_type_parameters
lint on nightly 1.69
#3326
Labels
#[wasm_bindgen]
macro triggers clippy::extra_unused_type_parameters
lint on nightly 1.69
#3326
Describe the Bug
#[wasm_bindgen]
triggers a clippy lint newly added in 1.69 nightly: rust-lang/rust-clippy#10028It seems benign and cosmetic, and hopefully should be an easy fix or an easy suppression.
Steps to Reproduce
Repository: https://github.com/obi1kenobi/trustfall
Commit:
4a68149f1d6d4cfdf6422b6c6fdd47c884a3e6bb
File:
trustfall_wasm/src/shim.rs
Relevant snippet where the lint happens:
This happens on
wasm_bindgen
v0.2.84 as well. You can see that on thewasm_update_for_deprecations
branch in that repo; I haven't merged that branch yet because it also seems to be suffering from some other more severe regression in the WASM.Expected Behavior
No lints when applying
#[wasm_bindgen]
.Actual Behavior
Running
cargo clippy
on nightly Rust 1.69 (clippy 0.1.69 (5243ea5 2023-02-20)
) produces:Additional Context
N/A
The text was updated successfully, but these errors were encountered: