fork/rust

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

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

master
550 B16 linesraw
1warning: unused return value of `must_use` that must be used
2  --> $DIR/offset-of-must-use.rs:7:5
3   |
4LL |     core::mem::offset_of!((String,), 0);
5   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7note: the lint level is defined here
8  --> $DIR/offset-of-must-use.rs:4:9
9   |
10LL | #![warn(unused)]
11   |         ^^^^^^
12   = note: `#[warn(unused_must_use)]` implied by `#[warn(unused)]`
13   = note: this warning originates in the macro `core::mem::offset_of` (in Nightly builds, run with -Z macro-backtrace for more info)
14
15warning: 1 warning emitted
16