mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-21 12:07:31 +00:00
9 lines
155 B
Rust
9 lines
155 B
Rust
![]() |
//@ check-pass
|
||
|
|
||
|
#![warn(unused)]
|
||
|
|
||
|
fn main() {
|
||
|
core::mem::offset_of!((String,), 0);
|
||
|
//~^ WARN unused return value of `must_use` that must be used
|
||
|
}
|