]> git.lizzy.rs Git - rust.git/commitdiff
reference tracking issue
authorRalf Jung <post@ralfj.de>
Wed, 6 Nov 2019 10:07:00 +0000 (11:07 +0100)
committerRalf Jung <post@ralfj.de>
Sat, 29 Feb 2020 08:27:25 +0000 (09:27 +0100)
src/librustc_target/abi/mod.rs

index 13a0eb66f32a5d53d7abd5e8978305f7d54d1ab0..4e4ef46909095319f6e2e50f554b64cc3c08d1fc 100644 (file)
@@ -1077,10 +1077,11 @@ pub fn might_permit_raw_init<C, E>(
                 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 @@ pub fn might_permit_raw_init<C, E>(
                         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)?