@@ -364,9 +364,6 @@ pub struct BindgenContext {
364
364
365
365
in_codegen : bool ,
366
366
367
- /// The clang index for parsing.
368
- index : clang:: Index ,
369
-
370
367
/// The translation unit for parsing.
371
368
translation_unit : clang:: TranslationUnit ,
372
369
@@ -420,12 +417,6 @@ pub struct BindgenContext {
420
417
/// and is always `None` before that and `Some` after.
421
418
cannot_derive_copy : Option < HashSet < ItemId > > ,
422
419
423
- /// The set of (`ItemId`s of) types that can't derive copy in array.
424
- ///
425
- /// This is populated when we enter codegen by `compute_cannot_derive_copy`
426
- /// and is always `None` before that and `Some` after.
427
- cannot_derive_copy_in_array : Option < HashSet < ItemId > > ,
428
-
429
420
/// The set of (`ItemId`s of) types that can't derive hash.
430
421
///
431
422
/// This is populated when we enter codegen by `compute_can_derive_hash`
@@ -569,7 +560,6 @@ If you encounter an error missing from this list, please file an issue or a PR!"
569
560
replacements : Default :: default ( ) ,
570
561
collected_typerefs : false ,
571
562
in_codegen : false ,
572
- index,
573
563
translation_unit,
574
564
target_info,
575
565
options,
@@ -582,7 +572,6 @@ If you encounter an error missing from this list, please file an issue or a PR!"
582
572
cannot_derive_debug : None ,
583
573
cannot_derive_default : None ,
584
574
cannot_derive_copy : None ,
585
- cannot_derive_copy_in_array : None ,
586
575
cannot_derive_hash : None ,
587
576
cannot_derive_partialeq_or_partialord : None ,
588
577
sizedness : None ,
0 commit comments