Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
367c8fe
fix(linkcheck): Build using the lockfile
epage Jun 20, 2025
6a9f223
Add diagnostic items for Clippy
samueltardieu Jun 20, 2025
07338a4
clippy: replace path uses by diagnostic items
samueltardieu Jun 20, 2025
8d18f3d
add doc(alias("AsciiChar")) to core::ascii::Char
lolbinarycat Jun 20, 2025
a32d085
error on calls to ABIs that cannot be called
folkertdev Jun 16, 2025
890ade5
Bless UI tests: do not print alternate implementors of `Step`
samueltardieu Jun 20, 2025
78c2ef2
compiler: Rename LayoutS to LayoutData in comments
zachs18 Jun 20, 2025
a7ff98e
rust-analyzer: Rename LayoutS to LayoutData in comments
zachs18 Jun 20, 2025
48060c9
Use gen blocks in the compiler instead of from_coroutine
compiler-errors Jun 20, 2025
2b5fd9a
rustdoc_json: Add static asserts for the size of important types.
nnethercote Jun 14, 2025
18d742b
rustdoc_json: Add a test for some `GenericArgs` cases.
nnethercote Jun 15, 2025
40ba791
rustdoc_json: Fix handling of paths with no generic args.
nnethercote Jun 14, 2025
59a3399
Fix some comments.
nnethercote Jun 14, 2025
7fa8901
rustdoc_json: represent generic args consistently.
nnethercote Jun 14, 2025
5f72706
Rollup merge of #142502 - nnethercote:rustdoc-json-GenericArgs, r=aDo…
matthiaskrgr Jun 21, 2025
504092f
Rollup merge of #142597 - folkertdev:abi-cannot-be-called, r=workingj…
matthiaskrgr Jun 21, 2025
06cc41b
Rollup merge of #142785 - epage:link, r=ehuss
matthiaskrgr Jun 21, 2025
24f797e
Rollup merge of #142787 - samueltardieu:diag-items-for-clippy, r=Mani…
matthiaskrgr Jun 21, 2025
1176413
Rollup merge of #142788 - lolbinarycat:core-AsciiChar-alias, r=tgross35
matthiaskrgr Jun 21, 2025
6a49a35
Rollup merge of #142801 - compiler-errors:gen-blocks, r=oli-obk
matthiaskrgr Jun 21, 2025
4e87031
Rollup merge of #142804 - zachs18:rename-layouts-to-layoutdata-in-com…
matthiaskrgr Jun 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rust-analyzer: Rename LayoutS to LayoutData in comments
  • Loading branch information
zachs18 committed Jun 20, 2025
commit a7ff98e143864c2edf060835d874d70862ba8915
2 changes: 1 addition & 1 deletion src/tools/rust-analyzer/crates/hir-ty/src/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
Loading