Skip to content

Commit d6eb719

Browse files
committed
rustc: Add missing lint registration
The pluggable lint changes apparently dropped the fat pointer transmute lint by accident. This commit registers the lint.
1 parent aabb6e7 commit d6eb719

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc/lint/builtin.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1623,7 +1623,8 @@ impl LintPass for HardwiredLints {
16231623
WARNINGS,
16241624
UNKNOWN_FEATURES,
16251625
UNKNOWN_CRATE_TYPES,
1626-
VARIANT_SIZE_DIFFERENCES
1626+
VARIANT_SIZE_DIFFERENCES,
1627+
FAT_PTR_TRANSMUTES
16271628
)
16281629
}
16291630
}

0 commit comments

Comments
 (0)