diff options
Diffstat (limited to '')
-rw-r--r-- | src/tools/clippy/tests/ui/proc_macro.stderr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/tools/clippy/tests/ui/proc_macro.stderr b/src/tools/clippy/tests/ui/proc_macro.stderr new file mode 100644 index 000000000..48fd58c9a --- /dev/null +++ b/src/tools/clippy/tests/ui/proc_macro.stderr @@ -0,0 +1,11 @@ +error: approximate value of `f{32, 64}::consts::PI` found + --> $DIR/proc_macro.rs:10:14 + | +LL | let _x = 3.14; + | ^^^^ + | + = note: `#[deny(clippy::approx_constant)]` on by default + = help: consider using the constant directly + +error: aborting due to previous error + |