sun::support::RelatedDiagnostic
struct · Source (opens in a new tab)
struct sun::support::RelatedDiagnosticAnother place an error points at.
A pass that finds several problems at once (the borrow checker) reports the first as the error itself and lists the rest here, together with any location that explains it, so an editor can mark every one of them instead of only the first.
Public Fields
level
public · variable · Source (opens in a new tab)
Level sun::support::RelatedDiagnostic::level = Level::ErrorNo documentation comment.
Related: Level, Level::Error
location
public · variable · Source (opens in a new tab)
Position sun::support::RelatedDiagnostic::locationNo documentation comment.
Related: Position
message
public · variable · Source (opens in a new tab)
std::string sun::support::RelatedDiagnostic::messageNo documentation comment.
Public Enums
Level
public · enum · Source (opens in a new tab)
enum class sun::support::RelatedDiagnostic::LevelControls which diagnostic severities are written to the log.
Error
Error
No documentation comment.
Note
Note
No documentation comment.