We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#!/bin/sh cargo new repro echo >repro/src/lib.rs ' #[allow(dead_code)] fn f() { let _x = 3.14; } ' echo >>repro/Cargo.toml ' [lib] proc-macro = true ' cargo clippy --manifest-path=repro/Cargo.toml
The same script without proc-macro = true does catch the approx_constant lint.
proc-macro = true
approx_constant