Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
offset-of
/
offset-of-must-use.rs
blob: f0c242891d8f9a222c90835062ea1f1c3b974e0a [
file
] [
log
] [
blame
]
//@ check-pass
#![
warn
(
unused
)]
fn
main
()
{
core
::
mem
::
offset_of
!((
String
,),
0
);
//~^ WARN unused return value of `must_use` that must be used
}