Skip to content

Commit b9ae87d

Browse files
committed
Merge from rust-lang/rust
2 parents f24c253 + 17abcec commit b9ae87d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/hir-ty/src/layout.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ pub fn layout_of_ty_query(
268268

269269
// let pointee = tcx.normalize_erasing_regions(param_env, pointee);
270270
// if pointee.is_sized(tcx.at(DUMMY_SP), param_env) {
271-
// return Ok(tcx.mk_layout(LayoutS::scalar(cx, data_ptr)));
271+
// return Ok(tcx.mk_layout(LayoutData::scalar(cx, data_ptr)));
272272
// }
273273

274274
let mut unsized_part = struct_tail_erasing_lifetimes(db, pointee.clone());

0 commit comments

Comments
 (0)