DiagnosticSet.opIndex

Returns the diagnostic stored at the given index.

struct DiagnosticSet
pure @safe nothrow @nogc const
const(Diagnostic)
opIndex
(
size_t index
)

Parameters

index
Type: size_t

the index of the diagnostic to return

Return Value

Type: const(Diagnostic)

the diagnostic

Meta