Skip to content

missing_inline_in_public_items and #[wasm_bindgen(start)] #3934

Closed
@bestia-dev

Description

@bestia-dev

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() {

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: Clippy is not doing the correct thingI-suggestion-causes-errorIssue: The suggestions provided by this Lint cause an ICE/error when appliedL-suggestionLint: Improving, adding or fixing lint suggestions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions