mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
16 lines
399 B
Plaintext
16 lines
399 B
Plaintext
![]() |
error: unused `std::result::Result` that must be used
|
||
|
--> $DIR/must_use-tuple.rs:4:5
|
||
|
|
|
||
|
LL | (Ok::<(), ()>(()),);
|
||
|
| ^^^^^^^^^^^^^^^^^^^^
|
||
|
|
|
||
|
note: lint level defined here
|
||
|
--> $DIR/must_use-tuple.rs:1:9
|
||
|
|
|
||
|
LL | #![deny(unused_must_use)]
|
||
|
| ^^^^^^^^^^^^^^^
|
||
|
= note: this `Result` may be an `Err` variant, which should be handled
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|