mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 08:05:12 +00:00
11 lines
306 B
Plaintext
11 lines
306 B
Plaintext
error: called `.err().expect()` on a `Result` value
|
|
--> $DIR/err_expect.rs:10:16
|
|
|
|
|
LL | test_debug.err().expect("Testing debug type");
|
|
| ^^^^^^^^^^^^ help: try: `expect_err`
|
|
|
|
|
= note: `-D clippy::err-expect` implied by `-D warnings`
|
|
|
|
error: aborting due to previous error
|
|
|