Re-add redundant clone (#36652)

Conrad Irwin created

Although I said I'd do this, I actually didn't...

Updates #36651

Release Notes:

- N/A

Change summary

Cargo.toml | 3 +++
1 file changed, 3 insertions(+)

Detailed changes

Cargo.toml 🔗

@@ -802,6 +802,9 @@ unexpected_cfgs = { level = "allow" }
 dbg_macro = "deny"
 todo = "deny"
 
+# trying this out
+redundant_clone = "deny"
+
 # We currently do not restrict any style rules
 # as it slows down shipping code to Zed.
 #