Skip to content

Commit

Permalink
Make it deny by default, for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
osa1 committed Apr 3, 2021
1 parent cec4254 commit 81df07d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_lint_defs/src/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2912,7 +2912,7 @@ declare_lint! {
/// lint, you can first cast to a `usize` and then to the integer type, e.g. `ptr as usize as
/// u32`.
pub INVALID_PTR_TO_INT_CAST,
Allow,
Deny,
"detects pointers casts to integer types other than `usize` or `u64`",
}

Expand Down

0 comments on commit 81df07d

Please sign in to comment.