Lyricdev
GitHub

struct MustUse

pub struct MustUse :: [OnCallable, OnType]

Conforms to OnCallable, OnType.

Marks a value nobody should drop.

A call of a function marked so, or a call whose value is of a type marked so, warns where it stands as a statement and its value goes nowhere.