mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
Don't generate constructor IDs for inline interfaces
This commit is contained in:
parent
987b640c54
commit
3f91ce1d07
3 changed files with 6 additions and 4 deletions
|
@ -157,9 +157,9 @@ pub mod weakref;
|
|||
pub mod xmlname;
|
||||
|
||||
/// Generated JS-Rust bindings.
|
||||
#[allow(dead_code, missing_docs, non_snake_case)]
|
||||
#[allow(missing_docs, non_snake_case)]
|
||||
pub mod codegen {
|
||||
#[allow(unrooted_must_root)]
|
||||
#[allow(dead_code, unrooted_must_root)]
|
||||
pub mod Bindings {
|
||||
include!(concat!(env!("OUT_DIR"), "/Bindings/mod.rs"));
|
||||
}
|
||||
|
@ -169,7 +169,7 @@ pub mod codegen {
|
|||
pub mod InterfaceTypes {
|
||||
include!(concat!(env!("OUT_DIR"), "/InterfaceTypes.rs"));
|
||||
}
|
||||
#[allow(unused_imports)]
|
||||
#[allow(dead_code, unused_imports)]
|
||||
pub mod InheritTypes {
|
||||
include!(concat!(env!("OUT_DIR"), "/InheritTypes.rs"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue