Implement transparent translation for newtypes and enums

This commit is contained in:
2024-11-05 20:42:59 +01:00
parent 9b9f33c4f7
commit b6209baecb
3 changed files with 251 additions and 6 deletions

View File

@@ -111,6 +111,7 @@ match_bool = "allow"
new_without_default = "allow"
missing_panics_doc = "warn"
multiple_crate_versions = "allow"
map_unwrap_or = "allow"
pedantic = { level = "deny", priority = -1 }
nursery = { level = "deny", priority = -1 }
@@ -142,7 +143,7 @@ float_cmp_const = "deny"
fn_to_numeric_cast_any = "deny"
format_push_string = "deny"
get_unwrap = "deny"
if_then_some_else_none = "deny"
if_then_some_else_none = "allow"
impl_trait_in_params = "allow"
indexing_slicing = "deny"
infinite_loop = "deny"