Silence a warning

This commit is contained in:
Anthony Ramine 2017-03-08 12:27:28 +01:00
parent 0138bbcdd1
commit 8666e82dbc

View file

@ -17,7 +17,7 @@ use test::{self, Bencher};
struct ErrorringErrorReporter;
impl ParseErrorReporter for ErrorringErrorReporter {
fn report_error(&self, input: &mut Parser, position: SourcePosition, message: &str,
fn report_error(&self, _input: &mut Parser, position: SourcePosition, message: &str,
url: &ServoUrl) {
panic!("CSS error: {}\t\n{:?} {}", url.as_str(), position, message);
}