mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Auto merge of #8049 - Ms2ger:warnings, r=nox
Enable some warnings for generated code. None of those warnings currently occur. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8049) <!-- Reviewable:end -->
This commit is contained in:
commit
67e8ec997f
1 changed files with 1 additions and 4 deletions
|
@ -165,13 +165,10 @@ pub mod codegen {
|
||||||
pub mod PrototypeList {
|
pub mod PrototypeList {
|
||||||
include!(concat!(env!("OUT_DIR"), "/PrototypeList.rs"));
|
include!(concat!(env!("OUT_DIR"), "/PrototypeList.rs"));
|
||||||
}
|
}
|
||||||
#[allow(non_camel_case_types, non_upper_case_globals,
|
|
||||||
unused_imports, unused_variables, unused_assignments)]
|
|
||||||
pub mod RegisterBindings {
|
pub mod RegisterBindings {
|
||||||
include!(concat!(env!("OUT_DIR"), "/RegisterBindings.rs"));
|
include!(concat!(env!("OUT_DIR"), "/RegisterBindings.rs"));
|
||||||
}
|
}
|
||||||
#[allow(non_camel_case_types, non_upper_case_globals,
|
#[allow(non_camel_case_types, unused_imports, unused_variables)]
|
||||||
unused_imports, unused_variables, unused_assignments)]
|
|
||||||
pub mod UnionTypes {
|
pub mod UnionTypes {
|
||||||
include!(concat!(env!("OUT_DIR"), "/UnionTypes.rs"));
|
include!(concat!(env!("OUT_DIR"), "/UnionTypes.rs"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue