-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Issues: rust-lang/rust
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Author
Label
Projects
Milestones
Assignee
Sort
Issues list
Enum layout should allow multiple untagged variants if they have nonoverlapping values
A-layout
Area: Memory layout of types
C-optimization
Category: An issue highlighting optimization opportunities or PRs implementing such
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#139148
opened Mar 30, 2025 by
lolbinarycat
ICE using Area: trait objects, vtable layout
A-layout
Area: Memory layout of types
C-bug
Category: This is a bug.
F-arbitrary_self_types
`#![feature(arbitrary_self_types)]`
F-dispatch_from_dyn
`#![feature(dispatch_from_dyn)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-nightly
This issue requires a nightly compiler in some way.
S-bug-has-test
Status: This bug is tracked inside the repo by a `known-bug` test.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
repr(align(…))
type as trait object receiver (arbitrary self
-type)
A-dyn-trait
#138564
opened Mar 16, 2025 by
steffahn
Should Area: Memory layout of types
C-discussion
Category: Discussion or questions that doesn't represent real issues.
C-optimization
Category: An issue highlighting optimization opportunities or PRs implementing such
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Option<u128>
use a smaller (maybe usize) tag?
A-layout
#138332
opened Mar 11, 2025 by
scottmcm
ICE: Area: Memory layout of types
A-repr
Area: the `#[repr(stuff)]` attribute
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
S-bug-has-test
Status: This bug is tracked inside the repo by a `known-bug` test.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
fn_abi_of_instance(foo, [])
failed: Layout(Unknown(Foo))
A-layout
#138008
opened Mar 4, 2025 by
matthiaskrgr
Layout optimization fails for enums with variants having values 0 and 255
A-layout
Area: Memory layout of types
C-bug
Category: This is a bug.
C-optimization
Category: An issue highlighting optimization opportunities or PRs implementing such
#136444
opened Feb 2, 2025 by
Kixunil
rustc accepts types requiring a greater-than-48-bit address space
A-layout
Area: Memory layout of types
C-discussion
Category: Discussion or questions that doesn't represent real issues.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#132525
opened Nov 2, 2024 by
shao-hua-li
Rust doesn't use niche in reference (or pointer) to slice
A-layout
Area: Memory layout of types
C-optimization
Category: An issue highlighting optimization opportunities or PRs implementing such
E-needs-design
This issue needs exploration and design to see how and if we can fix/implement it
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#132235
opened Oct 27, 2024 by
VorfeedCanal
ICE: Layout::compute: unexpected type Area: Memory layout of types
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-medium
Medium priority
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
S-bug-has-test
Status: This bug is tracked inside the repo by a `known-bug` test.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
_
A-layout
#130104
opened Sep 8, 2024 by
matthiaskrgr
ICE: Area: Memory layout of types
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
F-associated_const_equality
`#![feature(associated_const_equality)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
S-bug-has-test
Status: This bug is tracked inside the repo by a `known-bug` test.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
assertion failed: layout.is_sized()
with feature(associated_const_equality)
A-layout
#127643
opened Jul 12, 2024 by
Naserume
ICE: Area: Memory layout of types
C-bug
Category: This is a bug.
F-generic_const_exprs
`#![feature(generic_const_exprs)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-incomplete-features
This issue requires the use of incomplete features.
S-bug-has-test
Status: This bug is tracked inside the repo by a `known-bug` test.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
layout mismatch for result of MulWithOverflow
A-layout
#125772
opened May 30, 2024 by
matthiaskrgr
ICE: Area: Memory layout of types
C-bug
Category: This is a bug.
F-impl_trait_in_assoc_type
`#![feature(impl_trait_in_assoc_type)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
S-bug-has-test
Status: This bug is tracked inside the repo by a `known-bug` test.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
SizeSkeleton::compute
layout errored in layout.rs
A-layout
#125758
opened May 30, 2024 by
cushionbadak
Niche in Arc<..> variant of enum not used by Option<..>
A-layout
Area: Memory layout of types
C-optimization
Category: An issue highlighting optimization opportunities or PRs implementing such
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#125363
opened May 21, 2024 by
horazont
ICE: Area: Memory layout of types
A-MIR
Area: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.html
C-bug
Category: This is a bug.
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
S-bug-has-test
Status: This bug is tracked inside the repo by a `known-bug` test.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Unsigned value 0x100 does not fit in 8 bits
A-layout
#123690
opened Apr 9, 2024 by
matthiaskrgr
underflow while calculating type sizes
A-layout
Area: Memory layout of types
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-debug-assertions
This issue requires a build of rustc or tooling with debug-assertions in some way
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#122547
opened Mar 15, 2024 by
matthiaskrgr
Enums don't utilize niches across multiple data-carrying variants
A-layout
Area: Memory layout of types
C-bug
Category: This is a bug.
C-optimization
Category: An issue highlighting optimization opportunities or PRs implementing such
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#121333
opened Feb 20, 2024 by
LunarLambda
Missed layout optimisation with multiple niches
A-layout
Area: Memory layout of types
C-optimization
Category: An issue highlighting optimization opportunities or PRs implementing such
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#119507
opened Jan 2, 2024 by
GnomedDev
Enum field align cause performance degradation about 10x
A-layout
Area: Memory layout of types
C-optimization
Category: An issue highlighting optimization opportunities or PRs implementing such
I-slow
Issue: Problems and improvements with respect to performance of generated code.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#119247
opened Dec 23, 2023 by
PureWhiteWu
Missed niche optimization
A-layout
Area: Memory layout of types
C-optimization
Category: An issue highlighting optimization opportunities or PRs implementing such
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#119055
opened Dec 17, 2023 by
Jules-Bertholet
std::mem::size_of::<Result<char,u16>>() says 8 when 4 should be feasible
A-layout
Area: Memory layout of types
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#118367
opened Nov 27, 2023 by
hsivonen
Sub-optimal layout of Area: Memory layout of types
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Option<(u16, [u8; 15])>
(missed niche optimization)
A-layout
#117429
opened Oct 31, 2023 by
gendx
Wrong alignment for m68k pointer types
A-layout
Area: Memory layout of types
C-bug
Category: This is a bug.
O-motorola68k
Target: Rust from the parallel universe where the Amiga won.
#117252
opened Oct 26, 2023 by
antoyo
Enum size depends on ordering of members
A-layout
Area: Memory layout of types
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#117238
opened Oct 26, 2023 by
tromey
Layout Area: Memory layout of types
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Variants::Multiple
has tons of redundancy, e.g. Scalar
enums have Aggregate
variants
A-layout
#113988
opened Jul 23, 2023 by
RalfJung
repr(transparent) newtypes do not preserved preferred alignment
A-layout
Area: Memory layout of types
A-repr
Area: the `#[repr(stuff)]` attribute
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#109560
opened Mar 24, 2023 by
RalfJung
Tracking issue for Unstable option: Randomize the layout of types.
A-CLI
Area: Command-line interface (CLI) to the compiler
A-layout
Area: Memory layout of types
C-tracking-issue
Category: An issue tracking the progress of sth. like the implementation of an RFC
S-tracking-impl-incomplete
Status: The implementation is incomplete.
S-tracking-needs-documentation
Status: Needs documentation.
S-tracking-needs-summary
Status: It's hard to tell what's been done and what hasn't! Someone should do some investigation.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
-Z randomize-layout
-Zrandomize-layout
#106764
opened Jan 12, 2023 by
dtolnay
1 of 3 tasks
Previous Next
ProTip!
Find all open issues with in progress development work with linked:pr.