Skip to content

Commit f9e371c

Browse files
authored
Merge pull request #20063 from lnicola/sync-from-rust
minor: sync from downstream
2 parents 0100bc7 + b9ae87d commit f9e371c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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());

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
27733d46d79f4eb92e240fbba502c43022665735
1+
58d5e1169056f31553ecf680b009a5770eb0e859

0 commit comments

Comments
 (0)