Skip to content

Commit 6660dd6

Browse files
committed
fixing todo issue
Signed-off-by: Karan Janthe <[email protected]>
1 parent ccab2da commit 6660dd6

File tree

1 file changed

+1
-3
lines changed
  • compiler/rustc_middle/src/ty

1 file changed

+1
-3
lines changed

compiler/rustc_middle/src/ty/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2412,11 +2412,10 @@ fn typetree_from_ty<'a>(
24122412

24132413
if adt_def.is_struct() {
24142414
let (offsets, _memory_index) = match fields {
2415-
// Manuel TODO:
24162415
FieldsShape::Arbitrary { offsets: o, memory_index: m } => (o, m),
24172416
FieldsShape::Array { .. } => {
24182417
return TypeTree::new();
2419-
} //e.g. core::arch::x86_64::__m128i, TODO: later
2418+
} //e.g. core::arch::x86_64::__m128i
24202419
FieldsShape::Union(_) => {
24212420
return TypeTree::new();
24222421
}
@@ -2486,7 +2485,6 @@ fn typetree_from_ty<'a>(
24862485
// .flatten()
24872486
// .collect(),
24882487
//);
2489-
// TODO
24902488
visited.pop();
24912489
return TypeTree::new();
24922490
}

0 commit comments

Comments
 (0)