]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc_macro.stderr
Don't lint `if_same_then_else` with `if let` conditions
[rust.git] / tests / ui / proc_macro.stderr
1 error: approximate value of `f{32, 64}::consts::PI` found
2   --> $DIR/proc_macro.rs:10:14
3    |
4 LL |     let _x = 3.14;
5    |              ^^^^
6    |
7    = note: `#[deny(clippy::approx_constant)]` on by default
8    = help: consider using the constant directly
9
10 error: aborting due to previous error
11