We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0100bc7 + b9ae87d commit f9e371cCopy full SHA for f9e371c
crates/hir-ty/src/layout.rs
@@ -268,7 +268,7 @@ pub fn layout_of_ty_query(
268
269
// let pointee = tcx.normalize_erasing_regions(param_env, pointee);
270
// if pointee.is_sized(tcx.at(DUMMY_SP), param_env) {
271
- // return Ok(tcx.mk_layout(LayoutS::scalar(cx, data_ptr)));
+ // return Ok(tcx.mk_layout(LayoutData::scalar(cx, data_ptr)));
272
// }
273
274
let mut unsized_part = struct_tail_erasing_lifetimes(db, pointee.clone());
rust-version
@@ -1 +1 @@
1
-27733d46d79f4eb92e240fbba502c43022665735
+58d5e1169056f31553ecf680b009a5770eb0e859
0 commit comments