Skip to content

Commit 6fd909b

Browse files
committed
reference tracking issue
1 parent 503026b commit 6fd909b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/librustc_target/abi/mod.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,10 +1077,11 @@ impl<'a, Ty> TyLayout<'a, Ty> {
10771077
match self.variants {
10781078
Variants::Multiple { .. } =>
10791079
if zero {
1080-
// FIXME: could we identify the variant with discriminant 0, check that?
1080+
// FIXME(#66151):
1081+
// could we identify the variant with discriminant 0, check that?
10811082
true
10821083
} else {
1083-
// FIXME: This needs to have some sort of discriminant,
1084+
// FIXME(#66151): This needs to have some sort of discriminant,
10841085
// which cannot be undef. But for now we are conservative.
10851086
true
10861087
},
@@ -1089,7 +1090,7 @@ impl<'a, Ty> TyLayout<'a, Ty> {
10891090
match self.fields {
10901091
FieldPlacement::Union(..) => true, // An all-0 unit is fine.
10911092
FieldPlacement::Array { .. } =>
1092-
// FIXME: The widely use smallvec 0.6 creates uninit arrays
1093+
// FIXME(#66151): The widely use smallvec 0.6 creates uninit arrays
10931094
// with any element type, so let us not (yet) complain about that.
10941095
// count == 0 ||
10951096
// self.field(cx, 0).to_result()?.might_permit_raw_init(cx, zero)?

0 commit comments

Comments
 (0)