about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui-toml/panic/panic.stderr
blob: 5dfecfe51ddb2118faf4772967bef07f1279c06a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error: `panic` should not be present in production code
  --> tests/ui-toml/panic/panic.rs:12:14
   |
LL |         _ => panic!(""),
   |              ^^^^^^^^^^
   |
   = note: `-D clippy::panic` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::panic)]`

error: `panic_any` should not be present in production code
  --> tests/ui-toml/panic/panic.rs:18:5
   |
LL |     panic_any("should lint")
   |     ^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors