diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2018-01-31 17:43:29 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2018-01-31 17:49:15 +0100 |
commit | d82c54bd3033cc3277ebeb4854739bebe4e20f2f (patch) | |
tree | 338eca0cb4eed7d854bd64064ecdea507a37353e /components/style/error_reporting.rs | |
parent | c88dc51d03a81e9e405688ccd2baae75d61ffffd (diff) | |
download | servo-d82c54bd3033cc3277ebeb4854739bebe4e20f2f.tar.gz servo-d82c54bd3033cc3277ebeb4854739bebe4e20f2f.zip |
stylo: Fix missing null terminators in error reporting code.
This was causing the patch in bug 1420026 to fail.
Diffstat (limited to 'components/style/error_reporting.rs')
-rw-r--r-- | components/style/error_reporting.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/style/error_reporting.rs b/components/style/error_reporting.rs index b3661846ccf..c1446eaa0a0 100644 --- a/components/style/error_reporting.rs +++ b/components/style/error_reporting.rs @@ -13,6 +13,7 @@ use style_traits::ParseError; use stylesheets::UrlExtraData; /// Errors that can be encountered while parsing CSS. +#[derive(Debug)] pub enum ContextualParseError<'a> { /// A property declaration was not recognized. UnsupportedPropertyDeclaration(&'a str, ParseError<'a>), |