error inspects message
This commit is contained in:
parent
d53b44aafe
commit
6f57797c29
@ -70,7 +70,7 @@ impl AtRule {
|
|||||||
super_selector,
|
super_selector,
|
||||||
)?;
|
)?;
|
||||||
|
|
||||||
return Err((message.to_css_string(span)?, span.merge(kind_span)).into());
|
return Err((message.inspect(span)?, span.merge(kind_span)).into());
|
||||||
}
|
}
|
||||||
AtRuleKind::Warn => {
|
AtRuleKind::Warn => {
|
||||||
let Spanned {
|
let Spanned {
|
||||||
|
@ -13,3 +13,4 @@ error!(
|
|||||||
);
|
);
|
||||||
error!(error_unquoted_string, "a {\n @error hi;\n}\n", "Error: hi");
|
error!(error_unquoted_string, "a {\n @error hi;\n}\n", "Error: hi");
|
||||||
error!(error_arithmetic, "a {\n @error 1 + 1;\n}\n", "Error: 2");
|
error!(error_arithmetic, "a {\n @error 1 + 1;\n}\n", "Error: 2");
|
||||||
|
error!(error_is_inspected, "a {\n @error null;\n}\n", "Error: null");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user