auto merge of #2320 : glennw/servo/codegen-warnings, r=jdm

Is it reasonable to always expect success here for now?

Fixes #2246.
This commit is contained in:
bors-servo 2014-05-05 01:22:17 -04:00
commit 310d2a19bb

View file

@ -5341,7 +5341,7 @@ class GlobalGenRoots():
trace = [CGGeneric(string.Template('''impl JSTraceable for ${name} {
fn trace(&self, tracer: *mut JSTracer) {
unsafe {
self.encode(&mut *tracer);
self.encode(&mut *tracer).ok().expect("failed to encode");
}
}
}