diff options
| author | Mica White <botahamec@outlook.com> | 2026-10-03 14:14:31 -0400 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2026-10-03 14:14:31 -0400 |
| commit | 1b7ddd5894c2636618e630f44b1bb7d598d29b48 (patch) | |
| tree | 23634f9a1e95a719628b5978c834d1c7de69e615 /src/diagnostics | |
| parent | 67083043f5da93c447468578c49ffec1a679f1cc (diff) | |
Planning for 0.2
Diffstat (limited to 'src/diagnostics')
| -rw-r--r-- | src/diagnostics/forbidden_top_level_tag.rs | 6 | ||||
| -rw-r--r-- | src/diagnostics/non_self_closing_void_tag.rs | 3 | ||||
| -rw-r--r-- | src/diagnostics/non_void_self_closing_tag.rs | 3 |
3 files changed, 5 insertions, 7 deletions
diff --git a/src/diagnostics/forbidden_top_level_tag.rs b/src/diagnostics/forbidden_top_level_tag.rs index 8b5301e..c834e8a 100644 --- a/src/diagnostics/forbidden_top_level_tag.rs +++ b/src/diagnostics/forbidden_top_level_tag.rs @@ -1,11 +1,7 @@ use miette::Diagnostic; use thiserror::Error; -use crate::{ - diagnostics::{ALLOWED_TOP_LEVEL_TAGS, AstDiagnostic}, - parse::Node, - tokenize::Span, -}; +use crate::{ALLOWED_TOP_LEVEL_TAGS, diagnostics::AstDiagnostic, parse::Node, tokenize::Span}; #[derive(Error, Debug, Diagnostic)] #[error("Forbidden top-level tag is present")] diff --git a/src/diagnostics/non_self_closing_void_tag.rs b/src/diagnostics/non_self_closing_void_tag.rs index bfff266..1c987c3 100644 --- a/src/diagnostics/non_self_closing_void_tag.rs +++ b/src/diagnostics/non_self_closing_void_tag.rs @@ -2,7 +2,8 @@ use miette::Diagnostic; use thiserror::Error; use crate::{ - diagnostics::{TokenDiagnostic, VOID_TAGS}, + VOID_TAGS, + diagnostics::TokenDiagnostic, tokenize::{Span, Token, TokenType}, }; diff --git a/src/diagnostics/non_void_self_closing_tag.rs b/src/diagnostics/non_void_self_closing_tag.rs index 8a64be1..2667fa1 100644 --- a/src/diagnostics/non_void_self_closing_tag.rs +++ b/src/diagnostics/non_void_self_closing_tag.rs @@ -2,7 +2,8 @@ use miette::Diagnostic; use thiserror::Error; use crate::{ - diagnostics::{TokenDiagnostic, VOID_TAGS}, + VOID_TAGS, + diagnostics::TokenDiagnostic, tokenize::{Span, Token, TokenType}, }; |
