mirror of
https://github.com/servo/servo.git
synced 2025-06-08 00:23:30 +00:00
Call the generated rather than the hand-written traits (fixes #2936).
This commit is contained in:
parent
38a658d561
commit
944d8b00b0
116 changed files with 126 additions and 765 deletions
|
@ -1341,10 +1341,6 @@ class CGImports(CGWrapper):
|
|||
'dead_code',
|
||||
]
|
||||
|
||||
for d in descriptors:
|
||||
name = d.interface.identifier.name
|
||||
imports.append('dom::%s::%sMethods' % (name.lower(), name))
|
||||
|
||||
statements = ['#![allow(%s)]' % ','.join(ignored_warnings)]
|
||||
statements.extend('use %s;' % i for i in sorted(imports))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue