diff options
Diffstat (limited to 'src/tools/clippy/tests/ui/float_arithmetic.stderr')
| -rw-r--r-- | src/tools/clippy/tests/ui/float_arithmetic.stderr | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/clippy/tests/ui/float_arithmetic.stderr b/src/tools/clippy/tests/ui/float_arithmetic.stderr index fe8446c9816..da4ca976792 100644 --- a/src/tools/clippy/tests/ui/float_arithmetic.stderr +++ b/src/tools/clippy/tests/ui/float_arithmetic.stderr @@ -5,6 +5,7 @@ LL | f * 2.0; | ^^^^^^^ | = note: `-D clippy::float-arithmetic` implied by `-D warnings` + = help: to override `-D warnings` add `#[allow(clippy::float_arithmetic)]` error: floating-point arithmetic detected --> $DIR/float_arithmetic.rs:19:5 |
