Expand description
Warnings raised by library calls and the sinks that receive them.
Warnings raised by the library. A function that can warn takes a WarningSink; the library
never prints, and nothing is shared between calls.
Structs§
- Warning
- One warning: a message with an optional name (for muting), file and line.
- Warnings
- A sink that keeps warnings, with muted names and a per-name quota.
Enums§
- Warning
Kind - What a
Warningis.
Traits§
- Warning
Sink - Receives the warnings a library call raises.