missing_inline_in_public_items and #[wasm_bindgen(start)] #3934
Labels
C-bug
Category: Clippy is not doing the correct thing
I-suggestion-causes-error
Issue: The suggestions provided by this Lint cause an ICE/error when applied
L-suggestion
Lint: Improving, adding or fixing lint suggestions
clippy 0.0.212 (1b89724 2019-01-15)
I work with wasm_bindgen and for this function Clippy warns missing_inline_in_public_items
#[wasm_bindgen(start)]
pub fn run() {
If I add #[inline], the "wasm-pack build --target no-modules" returns an
error: "export
run
not found"#[inline]
#[wasm_bindgen(start)]
pub fn run() {
The text was updated successfully, but these errors were encountered: