Skip to main content
is_def_must_use
rustc_
lint
1.96.0-nightly
(2d76d9bc7 2026-03-09)
In rustc_
lint::
unused::
must_
use
rustc_lint
::
unused
::
must_use
Function
is_
def_
must_
use
Copy item path
Source
fn is_def_must_use( cx: &
LateContext
<'_>, def_id:
DefId
, span:
Span
, ) ->
Option
<
MustUsePath
>