EmbarkStudios / mirror-mirror

🪞 Powerful reflection library for Rust
Apache License 2.0
79 stars 2 forks source link

Disable clippy warning #129

Closed fornwall closed 7 months ago

fornwall commented 8 months ago

Disable the clippy warning giving the below error:

error: variant name ends with the enum's name --> crates/mirror-mirror/src/tests/meta.rs:57:5 57 C, ^

= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names = note: -D clippy::enum-variant-names implied by -D warnings = help: to override -D warnings add #[allow(clippy::enum_variant_names)]

davidpdrsn commented 8 months ago

I just merged two other PRs so wanna merge main and see if that fixes CI? I think it should 🤞

fornwall commented 7 months ago

Done!

The remaining failure is for cargo build --target thumbv6m-none-eabi --no-default-features:

error[E0599]: no method named compare_exchange found for struct portable_atomic::AtomicPtr in the current scope --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.19.0/src/race.rs:348:39

Should be fixed by https://github.com/EmbarkStudios/mirror-mirror/pull/131