Skip to content

Commit bc3f072

Browse files
committed
Deny by default to crater test
1 parent 28f82d0 commit bc3f072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_lint_defs/src/builtin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ declare_lint! {
787787
///
788788
/// Otherwise, consider removing it if the struct is no longer in use.
789789
pub UNCONSTRUCTABLE_PUB_STRUCT,
790-
Allow,
790+
Deny,
791791
"detects pub structs that are unused locally and cannot be constructed externally"
792792
}
793793

0 commit comments

Comments
 (0)