Module marker_api::diagnostic

source ·
Expand description

This module is responsible for the construction of diagnostic messages. The DiagnosticBuilder is the public stable interface, to construct messages.

Structs

  • This builder creates the diagnostic object which will be emitted by the driver. The documentation will showcase the messages in rustc’s console emission style, the actual display depends on the driver.

Enums

  • Indicates the confidence in the correctness of a suggestion.

Traits

  • Every lint emission is bound to a specific node. The node is used to determine the lint level and Span that is used for the main diagnostic message.