sun::support::RelatedDiagnostic

sun::support::RelatedDiagnostic

struct · Source (opens in a new tab)

struct sun::support::RelatedDiagnostic

Another 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::Error

No documentation comment.

Related: Level, Level::Error

location

public · variable · Source (opens in a new tab)

Position sun::support::RelatedDiagnostic::location

No documentation comment.

Related: Position

message

public · variable · Source (opens in a new tab)

std::string sun::support::RelatedDiagnostic::message

No documentation comment.

Public Enums

Level

public · enum · Source (opens in a new tab)

enum class sun::support::RelatedDiagnostic::Level

Controls which diagnostic severities are written to the log.

Error

Error

No documentation comment.

Note

Note

No documentation comment.