mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-27 18:26:19 +00:00
Merge from rust-lang/rust
This commit is contained in:
commit
b9ae87d586
1 changed files with 1 additions and 1 deletions
|
|
@ -268,7 +268,7 @@ pub fn layout_of_ty_query(
|
|||
|
||||
// let pointee = tcx.normalize_erasing_regions(param_env, pointee);
|
||||
// if pointee.is_sized(tcx.at(DUMMY_SP), param_env) {
|
||||
// return Ok(tcx.mk_layout(LayoutS::scalar(cx, data_ptr)));
|
||||
// return Ok(tcx.mk_layout(LayoutData::scalar(cx, data_ptr)));
|
||||
// }
|
||||
|
||||
let mut unsized_part = struct_tail_erasing_lifetimes(db, pointee.clone());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue