ddc ~master (2020-05-01T11:40:35Z)
Dub
Repo
DiagnosticSet.opOpAssign
dmd
diagnostic
DiagnosticSet
Adds the given diagnostic to the set of diagnostics.
DiagnosticSet
opOpAssign
(
Diagnostic
diagnostic
)
struct
DiagnosticSet
pure @
safe
nothrow
DiagnosticSet
opOpAssign
(
string
op
)
(
Diagnostic
diagnostic
)
if
(
op
== "~"
)
void
add
(
Diagnostic
diagnostic
)
Parameters
diagnostic
Type:
Diagnostic
the diagnostic to add
Meta
Source
See Implementation
dmd
diagnostic
DiagnosticSet
functions
add
addSupplemental
empty
front
length
opIndex
opOpAssign
popFront
toString
Adds the given diagnostic to the set of diagnostics.