mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Fix a warning
This commit is contained in:
parent
7455ad5eb4
commit
7444be686c
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ use test::{self, Bencher};
|
||||||
|
|
||||||
struct ErrorringErrorReporter;
|
struct ErrorringErrorReporter;
|
||||||
impl ParseErrorReporter for 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) {
|
url: &ServoUrl) {
|
||||||
panic!("CSS error: {}\t\n{:?} {}", url.as_str(), position, message);
|
panic!("CSS error: {}\t\n{:?} {}", url.as_str(), position, message);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue