mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Reinstate errors for unused variables and imports.
This commit is contained in:
parent
97e068b1c2
commit
e10206e91e
19 changed files with 36 additions and 8 deletions
|
@ -127,7 +127,7 @@ impl FontCache {
|
|||
let family = self.web_families.get_mut(&family_name);
|
||||
family.add_template(format!("{}", url).as_slice(), Some(bytes));
|
||||
},
|
||||
Err(msg) => {
|
||||
Err(_) => {
|
||||
debug!("Failed to load web font: family={} url={}", family_name, url);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
#![feature(globs, macro_rules, phase, unsafe_destructor)]
|
||||
|
||||
#![deny(unused_imports, unused_variable)]
|
||||
|
||||
#![feature(phase)]
|
||||
#[phase(plugin, link)]
|
||||
extern crate log;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue