diff --git a/server/Cargo.toml b/server/Cargo.toml index 790ff17c5..4fbd3e796 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -4,7 +4,6 @@ resolver = "2" [workspace.lints.rust] rust_2018_idioms = { level = "warn", priority = -1 } -trivial_casts = "warn" trivial_numeric_casts = "warn" [workspace.lints.clippy] diff --git a/server/svix-server/src/queue/redis.rs b/server/svix-server/src/queue/redis.rs index fda46d598..12852092f 100644 --- a/server/svix-server/src/queue/redis.rs +++ b/server/svix-server/src/queue/redis.rs @@ -270,7 +270,6 @@ async fn migrate_list_to_stream( for key in legacy_keys { let task = match task_from_redis_key(&key) { Ok(t) => t, - #[allow(trivial_casts)] Err(e) => { tracing::error!(error = &e as &dyn std::error::Error, "Invalid legacy key"); continue;