mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Silence a warning
This commit is contained in:
parent
0138bbcdd1
commit
8666e82dbc
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue