diff options
Diffstat (limited to 'components/style/error_reporting.rs')
-rw-r--r-- | components/style/error_reporting.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/components/style/error_reporting.rs b/components/style/error_reporting.rs index e2a28ea0f91..eda926f8cf3 100644 --- a/components/style/error_reporting.rs +++ b/components/style/error_reporting.rs @@ -139,7 +139,7 @@ impl<'a> ContextualParseError<'a> { } /// A generic trait for an error reporter. -pub trait ParseErrorReporter : Sync { +pub trait ParseErrorReporter { /// Called when the style engine detects an error. /// /// Returns the current input being parsed, the source position it was @@ -188,8 +188,3 @@ impl ParseErrorReporter for NullReporter { // do nothing } } - -/// Create an instance of the default error reporter. -pub fn create_error_reporter() -> RustLogReporter { - RustLogReporter -} |