dmd.mustuse
    Compile-time checks associated with the @mustuse attribute.
  
License
Source: mustuse.d
Documentation: https://dlang.org/phobos/dmd_mustuse.html
- 
  DeclarationboolcheckMustUse(Expressione, Scope*sc);Check whether discarding an expression would violate the requirements of @mustuse. If so, emit an error. ParametersExpressionethe expression to check Scope*scscope in which eReturn Valuetrueon error,falseon success.
- 
  DeclarationvoidcheckMustUseReserved(Dsymbolsym);Called from a symbol's semantic to check for reserved usage of @mustuse. DiscussionIf such usage is found, emits an errror. ParametersDsymbolsymsymbol to check