-
Notifications
You must be signed in to change notification settings - Fork 13.4k
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
sys::thread_local::key::tests::destructors
fails under x86 Windows 7
A-atomic
#141300
opened May 20, 2025 by
PaulDance
Better errors for polymorphic recursion
A-destructors
Area: Destructors (`Drop`, …)
A-diagnostics
Area: Messages for errors, warnings, and lints
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
D-verbose
Diagnostics: Too much output caused by a single piece of incorrect code.
I-monomorphization
Issue: An error at monomorphization time.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#136528
opened Feb 4, 2025 by
jake-87
HashMap: panic in element destructor causes leaks of unrelated elements
A-collections
Area: `std::collections`
A-destructors
Area: Destructors (`Drop`, …)
C-discussion
Category: Discussion or questions that doesn't represent real issues.
I-memleak
Issue: Runtime memory leak without `mem::forget`.
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
#132222
opened Oct 27, 2024 by
lukas-code
ICE: Unstable option: MIR validation
A-async-await
Area: Async & Await
A-coroutines
Area: Coroutines
A-destructors
Area: Destructors (`Drop`, …)
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.
Building async destructor constructor shim is not yet implemented for type: Coroutine
-Zvalidate-mir
#132103
opened Oct 24, 2024 by
matthiaskrgr
Implicit returns and missing semicolons after Area: Destructors (`Drop`, …)
C-discussion
Category: Discussion or questions that doesn't represent real issues.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
return
might cause a different drop order
A-destructors
#131313
opened Oct 6, 2024 by
porky11
rustdoc: hang/OOM with recursive type
A-destructors
Area: Destructors (`Drop`, …)
C-bug
Category: This is a bug.
fixed-by-next-solver
Fixed by the next-generation trait solver, `-Znext-solver`.
I-crash
Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
I-hang
Issue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
#102910
opened Oct 11, 2022 by
matthiaskrgr
unhelpful Area: Destructors (`Drop`, …)
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
I-cycle
Issue: A query cycle occurred while none was expected
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
drop check cycle encountered
errors on infinite-sized recursive enum with a boxed variant
A-destructors
#99061
opened Jul 8, 2022 by
pro465
lint against unexpectedly late drop for temporaries in match scrutinee expressions
A-destructors
Area: Destructors (`Drop`, …)
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
E-help-wanted
Call for participation: Help is requested to fix this issue.
E-medium
Call for participation: Medium difficulty. Experience needed to fix: Intermediate.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#93883
opened Feb 10, 2022 by
yaahc
Excessive drop glue duplication in vtables can blow up compile times
A-codegen
Area: Code generation
A-destructors
Area: Destructors (`Drop`, …)
C-optimization
Category: An issue highlighting optimization opportunities or PRs implementing such
I-compiletime
Issue: Problems and improvements with respect to compile times.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#88438
opened Aug 28, 2021 by
jonas-schievink
E0493 emitted without drop when destructuring
A-const-eval
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
A-destructors
Area: Destructors (`Drop`, …)
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#86897
opened Jul 5, 2021 by
CAD97
Error with static lifetime inference in consts when using types with drop implementation
A-const-eval
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
A-destructors
Area: Destructors (`Drop`, …)
A-lifetimes
Area: Lifetimes / regions
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#86672
opened Jun 27, 2021 by
oberien
Erroneous drop_bounds lint
A-destructors
Area: Destructors (`Drop`, …)
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#86653
opened Jun 26, 2021 by
jonhoo
Warn when using Area: Constant evaluation, covers all const contexts (static, const fn, ...)
A-destructors
Area: Destructors (`Drop`, …)
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
A-zst
Area: Zero-sized types (ZSTs).
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
[foo; 0]
where foo
is a non-const expression that evaluates to a Drop
type
A-const-eval
#79580
opened Nov 30, 2020 by
bstrie
inaccurate const drop error doesn't mention #![feature(const_precise_live_drops)]
A-const-eval
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
A-destructors
Area: Destructors (`Drop`, …)
A-diagnostics
Area: Messages for errors, warnings, and lints
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.
#79166
opened Nov 18, 2020 by
meithecatte
'Dropping temporaries' prevents borrow check to succeed in match arm without shared ownership
A-destructors
Area: Destructors (`Drop`, …)
A-lifetimes
Area: Lifetimes / regions
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
#76149
opened Aug 31, 2020 by
Byron
Tracking issue for Area: Constant evaluation, covers all const contexts (static, const fn, ...)
A-destructors
Area: Destructors (`Drop`, …)
B-unstable
Blocker: Implemented in the nightly compiler and unstable.
C-tracking-issue
Category: An issue tracking the progress of sth. like the implementation of an RFC
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.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
#![feature(const_precise_live_drops)]
A-const-eval
#73255
opened Jun 11, 2020 by
ecstatic-morse
1 task done
Drop with guaranteed move elision
A-destructors
Area: Destructors (`Drop`, …)
A-MIR
Area: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.html
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
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.
#62508
opened Jul 8, 2019 by
tmandry
Unclear unsoundness warning when reborrowing data using late-bound lifetimes across multiple trait definitions
A-borrow-checker
Area: The borrow checker
A-destructors
Area: Destructors (`Drop`, …)
A-diagnostics
Area: Messages for errors, warnings, and lints
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#58868
opened Mar 2, 2019 by
darkwisebear
"--emit mir" does not emit drop shim
A-destructors
Area: Destructors (`Drop`, …)
A-MIR
Area: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.html
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.
#58102
opened Feb 3, 2019 by
RalfJung
Recursive Drop causes stack overflow even for object trees
A-destructors
Area: Destructors (`Drop`, …)
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
#58068
opened Feb 2, 2019 by
slaymaker1907
Can't implement Drop on a type with a higher ranked lifetime as a trait bound.
A-destructors
Area: Destructors (`Drop`, …)
A-higher-ranked
Area: Higher-ranked things (e.g., lifetimes, types, trait bounds aka HRTBs)
A-trait-system
Area: Trait system
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.
T-types
Relevant to the types team, which will review and decide on the PR/issue.
#51386
opened Jun 6, 2018 by
pythonesque
rustdoc: transitive Drop indicators should be shown
A-destructors
Area: Destructors (`Drop`, …)
A-synthetic-impls
Area: Synthetic impls, used by rustdoc to document auto traits and traits with blanket impls
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
#49689
opened Apr 5, 2018 by
ishitatsuyuki
Panics in destructors can cause the return value to be leaked
A-destructors
Area: Destructors (`Drop`, …)
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
I-unsound
Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness
P-high
High priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
#47949
opened Feb 1, 2018 by
arielb1
rustc generates a lot of llvm ir for small programs due to inline generated drops
A-codegen
Area: Code generation
A-destructors
Area: Destructors (`Drop`, …)
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
C-optimization
Category: An issue highlighting optimization opportunities or PRs implementing such
I-compiletime
Issue: Problems and improvements with respect to compile times.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#38827
opened Jan 4, 2017 by
jrmuizel
Using pattern match directly on LockResult causes deadlock
A-destructors
Area: Destructors (`Drop`, …)
A-lifetimes
Area: Lifetimes / regions
C-bug
Category: This is a bug.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
#37612
opened Nov 6, 2016 by
lloydmeta
Previous Next
ProTip!
Type g i on any issue or pull request to go back to the issue listing page.