diff --git a/Cargo.lock b/Cargo.lock index 45ef039..ab831f3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -493,7 +493,7 @@ dependencies = [ [[package]] name = "magic_map_lint" -version = "0.4.0" +version = "0.5.0" dependencies = [ "proc-macro2", "syn 2.0.117", diff --git a/README.md b/README.md index 230595a..588ba6e 100644 --- a/README.md +++ b/README.md @@ -814,11 +814,15 @@ magic-map-lint --allow .magic-map-allow src/ crates/ ``` It walks the given paths and flags every `impl From / Into / TryFrom / -TryInto`, with two deliberate exemptions: +TryInto`, with three deliberate exemptions: - **Error conversions.** `impl From for ApiError` is how `?` bubbles between layers; an impl where either side's type name ends in `Error` is not a data mapping. +- **Widget conversions.** `impl From