mirror of
https://github.com/servo/servo.git
synced 2025-08-02 12:10:29 +01:00
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:
commit
310d2a19bb
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue