mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Do not allow unreachable_code in codegen anymore
This commit is contained in:
parent
3c1c315838
commit
cf6975f2a3
2 changed files with 2 additions and 6 deletions
|
@ -168,12 +168,12 @@ pub mod codegen {
|
|||
pub mod PrototypeList {
|
||||
include!(concat!(env!("OUT_DIR"), "/PrototypeList.rs"));
|
||||
}
|
||||
#[allow(unreachable_code, non_camel_case_types, non_upper_case_globals,
|
||||
#[allow(non_camel_case_types, non_upper_case_globals,
|
||||
unused_imports, unused_variables, unused_assignments)]
|
||||
pub mod RegisterBindings {
|
||||
include!(concat!(env!("OUT_DIR"), "/RegisterBindings.rs"));
|
||||
}
|
||||
#[allow(unreachable_code, non_camel_case_types, non_upper_case_globals,
|
||||
#[allow(non_camel_case_types, non_upper_case_globals,
|
||||
unused_imports, unused_variables, unused_assignments)]
|
||||
pub mod UnionTypes {
|
||||
include!(concat!(env!("OUT_DIR"), "/UnionTypes.rs"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue