Skip to content

Error linting project using wasm-bindgen on nighlty #4507

@alexlapa

Description

@alexlapa

cargo clippy --all -- -D clippy::pedantic -D warnings is ok

running cargo +nightly clippy --all -- -D clippy::pedantic -D warnings produces:

error: integer type suffix should be separated by an underscore
  --> jason/src/api/connection.rs:28:1
   |
28 | #[wasm_bindgen]
   | ^^^^^^^^^^^^^^^ help: add an underscore: `#[wasm_bindg_u32`
   |
   = note: `-D clippy::unseparated-literal-suffix` implied by `-D clippy::pedantic`
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unseparated_literal_suffix
cargo clippy -V 
clippy 0.0.212 (e3cb40e 2019-06-25)
cargo +nightly clippy -V
clippy 0.0.212 (aeadf15 2019-09-03)

Reproduction.

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 appliedT-macrosType: Issues with macros and macro expansiongood first issueThese issues are a good way to get started with Clippy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions