Skip to content

Commit bdf354d

Browse files
committed
Upgrade to rustc 1.31.0-nightly (8c4ad4e9e 2018-10-04)
CC rust-lang/rust#54846
1 parent caa4d19 commit bdf354d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

components/script/dom/bindings/codegen/CodegenRust.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -2278,7 +2278,10 @@ def define(self):
22782278
return """\
22792279
static INTERFACE_OBJECT_CLASS: NonCallbackInterfaceObjectClass =
22802280
NonCallbackInterfaceObjectClass::new(
2281-
&%(constructorBehavior)s,
2281+
{
2282+
const BEHAVIOR: InterfaceConstructorBehavior = %(constructorBehavior)s;
2283+
&BEHAVIOR
2284+
},
22822285
%(representation)s,
22832286
PrototypeList::ID::%(id)s,
22842287
%(depth)s);

rust-toolchain

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2018-08-29
1+
nightly-2018-10-05

0 commit comments

Comments
 (0)