Apply a severity to the given Diagnostic.
(mut self, severity: Severity)
| 71 | |
| 72 | /// Apply a severity to the given Diagnostic. |
| 73 | pub fn with_severity(mut self, severity: Severity) -> Self { |
| 74 | self.severity = severity; |
| 75 | self |
| 76 | } |
| 77 | |
| 78 | /// Apply an end Cursor to the given Diagnostic. |
| 79 | pub fn with_end_cursor(mut self, end_cursor: Cursor) -> Self { |
no outgoing calls
no test coverage detected