diff options
| author | Ralf Jung <post@ralfj.de> | 2019-11-06 11:07:00 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2020-02-29 09:27:25 +0100 |
| commit | 6fd909b2b1dd2789e0f1af79283c6105fa502ca3 (patch) | |
| tree | 64615a6fbec7dfcbac3d42489689a039746fc4aa | |
| parent | 503026b622d1095770178fbe606a4ba783216992 (diff) | |
| download | rust-6fd909b2b1dd2789e0f1af79283c6105fa502ca3.tar.gz rust-6fd909b2b1dd2789e0f1af79283c6105fa502ca3.zip | |
reference tracking issue
| -rw-r--r-- | src/librustc_target/abi/mod.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/librustc_target/abi/mod.rs b/src/librustc_target/abi/mod.rs index 13a0eb66f32..4e4ef469090 100644 --- a/src/librustc_target/abi/mod.rs +++ b/src/librustc_target/abi/mod.rs @@ -1077,10 +1077,11 @@ impl<'a, Ty> TyLayout<'a, Ty> { match self.variants { Variants::Multiple { .. } => if zero { - // FIXME: could we identify the variant with discriminant 0, check that? + // FIXME(#66151): + // could we identify the variant with discriminant 0, check that? true } else { - // FIXME: This needs to have some sort of discriminant, + // FIXME(#66151): This needs to have some sort of discriminant, // which cannot be undef. But for now we are conservative. true }, @@ -1089,7 +1090,7 @@ impl<'a, Ty> TyLayout<'a, Ty> { match self.fields { FieldPlacement::Union(..) => true, // An all-0 unit is fine. FieldPlacement::Array { .. } => - // FIXME: The widely use smallvec 0.6 creates uninit arrays + // FIXME(#66151): The widely use smallvec 0.6 creates uninit arrays // with any element type, so let us not (yet) complain about that. // count == 0 || // self.field(cx, 0).to_result()?.might_permit_raw_init(cx, zero)? |
