diff options
Diffstat (limited to 'src/tools/clippy/tests/ui-toml/expect_used/expect_used.stderr')
-rw-r--r-- | src/tools/clippy/tests/ui-toml/expect_used/expect_used.stderr | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/clippy/tests/ui-toml/expect_used/expect_used.stderr b/src/tools/clippy/tests/ui-toml/expect_used/expect_used.stderr index 815d00935..13b6d7ff9 100644 --- a/src/tools/clippy/tests/ui-toml/expect_used/expect_used.stderr +++ b/src/tools/clippy/tests/ui-toml/expect_used/expect_used.stderr @@ -6,6 +6,7 @@ LL | let _ = opt.expect(""); | = note: if this value is `None`, it will panic = note: `-D clippy::expect-used` implied by `-D warnings` + = help: to override `-D warnings` add `#[allow(clippy::expect_used)]` error: used `expect()` on a `Result` value --> $DIR/expect_used.rs:12:13 |