Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing_inline_in_public_items and #[wasm_bindgen(start)] #3934

Closed
bestia-dev opened this issue Apr 10, 2019 · 0 comments
Closed

missing_inline_in_public_items and #[wasm_bindgen(start)] #3934

bestia-dev opened this issue Apr 10, 2019 · 0 comments
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

Comments

@bestia-dev
Copy link

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

@flip1995 flip1995 added L-suggestion Lint: Improving, adding or fixing lint suggestions 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 labels Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants