Skip to content

Commit 05f69cf

Browse files
committed
[CRATER ONLY] let's get a sense of how common this code is in the wild
1 parent 8f681d8 commit 05f69cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_lint/src/builtin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3335,7 +3335,7 @@ declare_lint! {
33353335
/// smaller than a 64 bit pointer, we suggest dereferencing the value so the compiler will have
33363336
/// a better chance of producing optimal instructions.
33373337
REF_BINOP_ON_COPY_TYPE,
3338-
Warn,
3338+
Deny,
33393339
"detects binary operations on references to `Copy` types like `&42 < &50`",
33403340
}
33413341

0 commit comments

Comments
 (0)