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.
1 parent 78c2ef2 commit a7ff98eCopy full SHA for a7ff98e
src/tools/rust-analyzer/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());
0 commit comments