Essentially, generates a doc comment containg what's in the display when expanding the macro.
HtmlParsingError = {
#[display("Fails to parse html. Reason: Lack of node id from vdom")]
/// Fails to parse html. Reason: Lack of node id from vdom
LackOfNodeid,
};
This allows the lsp to provide a best effort explanation of the error without needing to go to source.
Of course, if the user manually provides the doc comment, use that instead.
Essentially, generates a doc comment containg what's in the display when expanding the macro.
This allows the lsp to provide a best effort explanation of the error without needing to go to source.
Of course, if the user manually provides the doc comment, use that instead.