Skip to content

Commit 81df07d

Browse files
committed
Make it deny by default, for testing
1 parent cec4254 commit 81df07d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_lint_defs/src/builtin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2912,7 +2912,7 @@ declare_lint! {
29122912
/// lint, you can first cast to a `usize` and then to the integer type, e.g. `ptr as usize as
29132913
/// u32`.
29142914
pub INVALID_PTR_TO_INT_CAST,
2915-
Allow,
2915+
Deny,
29162916
"detects pointers casts to integer types other than `usize` or `u64`",
29172917
}
29182918

0 commit comments

Comments
 (0)