Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions crates/dlin-core/src/parser/manifest/report.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub struct ManifestCapabilities {

/// A stable, machine-readable diagnostic produced while loading a manifest.
#[non_exhaustive]
#[derive(Debug, Clone, Copy, PartialEq, Eq, serde::Serialize)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
pub enum ManifestDiagnosticKind {
ParseError,
Expand Down Expand Up @@ -83,7 +83,7 @@ impl std::fmt::Display for ManifestDiagnosticKind {

/// Severity of a manifest load diagnostic.
#[non_exhaustive]
#[derive(Debug, Clone, Copy, PartialEq, Eq, serde::Serialize)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
pub enum ManifestDiagnosticSeverity {
Error,
Expand All @@ -101,7 +101,7 @@ impl ManifestDiagnosticSeverity {

/// Diagnostic details retained by [`ManifestLoadReport`].
#[non_exhaustive]
#[derive(Debug, Clone, PartialEq, Eq, serde::Serialize)]
#[derive(Debug, Clone, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
pub struct ManifestDiagnostic {
pub kind: ManifestDiagnosticKind,
pub severity: ManifestDiagnosticSeverity,
Expand Down
Loading