Skip to content

Commit 544cd3f

Browse files
committed
Add lint UNCONSTRUCTABLE_PUB_STRUCT to unused lint group
1 parent bf2b027 commit 544cd3f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_lint/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ fn register_builtins(store: &mut LintStore) {
293293
UNUSED_VARIABLES,
294294
UNUSED_ASSIGNMENTS,
295295
DEAD_CODE,
296+
UNCONSTRUCTABLE_PUB_STRUCT,
296297
UNUSED_MUT,
297298
UNREACHABLE_CODE,
298299
UNREACHABLE_PATTERNS,

0 commit comments

Comments
 (0)