fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
483 B18 linesraw
1error: unused logical operation that must be used
2  --> $DIR/issue-85913.rs:4:5
3   |
4LL |     function() && return 1;
5   |     ^^^^^^^^^^^^^^^^^^^^^^ the logical operation produces a value
6   |
7note: the lint level is defined here
8  --> $DIR/issue-85913.rs:1:9
9   |
10LL | #![deny(unused_must_use)]
11   |         ^^^^^^^^^^^^^^^
12help: use `let _ = ...` to ignore the resulting value
13   |
14LL |     let _ = function() && return 1;
15   |     +++++++
16
17error: aborting due to previous error
18