pub struct Diagnostic { /* fields omitted */ }
🔬 This is a nightly-only experimental API. (
proc_macro
#38356)
A structure representing a diagnostic message and associated children
messages.
🔬 This is a nightly-only experimental API. (
proc_macro
#38356)
Create a new diagnostic with the given level
and message
.
🔬 This is a nightly-only experimental API. (
proc_macro
#38356)
Create a new diagnostic with the given level
and message
pointing to
the given span
.
🔬 This is a nightly-only experimental API. (
proc_macro
#38356)
Add a new child diagnostic message to self
with the level
identified by this methods name with the given span
and message
.
🔬 This is a nightly-only experimental API. (
proc_macro
#38356)
Add a new child diagnostic message to self
with the level
identified by this method's name with the given message
.
🔬 This is a nightly-only experimental API. (
proc_macro
#38356)
Add a new child diagnostic message to self
with the level
identified by this methods name with the given span
and message
.
🔬 This is a nightly-only experimental API. (
proc_macro
#38356)
Add a new child diagnostic message to self
with the level
identified by this method's name with the given message
.
🔬 This is a nightly-only experimental API. (
proc_macro
#38356)
Add a new child diagnostic message to self
with the level
identified by this methods name with the given span
and message
.
🔬 This is a nightly-only experimental API. (
proc_macro
#38356)
Add a new child diagnostic message to self
with the level
identified by this method's name with the given message
.
🔬 This is a nightly-only experimental API. (
proc_macro
#38356)
Add a new child diagnostic message to self
with the level
identified by this methods name with the given span
and message
.
🔬 This is a nightly-only experimental API. (
proc_macro
#38356)
Add a new child diagnostic message to self
with the level
identified by this method's name with the given message
.
🔬 This is a nightly-only experimental API. (
proc_macro
#38356)
Returns the diagnostic level
for self
.
🔬 This is a nightly-only experimental API. (
proc_macro
#38356)
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more