From 01b34a4f75d0b9e4cdfbac7fbf3af4836e52d013 Mon Sep 17 00:00:00 2001 From: Gavrilikhin Daniil Date: Sat, 6 May 2023 09:30:24 +0800 Subject: [PATCH] Make `Severity::Error` to be default severity --- src/protocol.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/protocol.rs b/src/protocol.rs index 5331249..d8f9195 100644 --- a/src/protocol.rs +++ b/src/protocol.rs @@ -160,7 +160,7 @@ impl From> for Box Self { + Severity::Error + } +} + /** Represents readable source code of some sort.