-
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
rustc
thinks that two non-intersecting borrows intersect. And fails compilation
A-borrow-checker
#139930
opened Apr 16, 2025 by
USSURATONCACHI
strange cannot move out of a mutable reference error
A-borrow-checker
Area: The borrow checker
A-clippy
Area: Clippy
A-diagnostics
Area: Messages for errors, warnings, and lints
D-lack-of-suggestion
Diagnostics: Adding a (structured) suggestion would increase the quality of the diagnostic.
L-false-positive
Lint: False positive (should not have fired).
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#139670
opened Apr 11, 2025 by
Sherlock-Holo
ICE: Area: The borrow checker
A-error-handling
Area: Error handling
A-frontend
Area: Compiler frontend (errors, parsing and HIR)
A-parser
Area: The lexing & parsing of Rust source code to an AST
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.
S-has-bisection
Status: A bisection has been found for this issue
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.
assertion failed: bpos.to_u32() >= mbc.pos.to_u32() + mbc.bytes as u32'
A-borrow-checker
#139089
opened Mar 28, 2025 by
matthiaskrgr
Lifetime must be 'static, but why?
A-borrow-checker
Area: The borrow checker
A-diagnostics
Area: Messages for errors, warnings, and lints
A-lifetimes
Area: Lifetimes / regions
D-terse
Diagnostics: An error or lint that doesn't give enough information about the problem at hand.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#138408
opened Mar 12, 2025 by
timokoesters
How can Area: The borrow checker
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.
let y;
and let y: _;
be different to the borrow checker?
A-borrow-checker
#138194
opened Mar 7, 2025 by
steffahn
Too conservative lifetime check in match arm with if condition.
A-borrow-checker
Area: The borrow checker
A-lifetimes
Area: Lifetimes / regions
A-patterns
Relating to patterns and pattern matching
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-types
Relevant to the types team, which will review and decide on the PR/issue.
#137878
opened Mar 2, 2025 by
sswybd
Confusing diagnostic when the error value converted by Area: The borrow checker
A-diagnostics
Area: Messages for errors, warnings, and lints
A-trait-system
Area: Trait system
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
D-terse
Diagnostics: An error or lint that doesn't give enough information about the problem at hand.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
?
fails to satisfy a 'static
bound
A-borrow-checker
#136902
opened Feb 12, 2025 by
Zalathar
"implementation is not general enough" even if only Area: Async & Await
A-borrow-checker
Area: The borrow checker
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
'static
is used.
A-async-await
#136726
opened Feb 8, 2025 by
tisonkun
Borrow checker does not release a mutable borrow when the condition is false on async function
A-borrow-checker
Area: The borrow checker
C-bug
Category: This is a bug.
fixed-by-polonius
Compiling with `-Zpolonius` fixes this issue.
#136245
opened Jan 29, 2025 by
ultimaweapon
ICE: cannot convert ... to a region vid
A-borrow-checker
Area: The borrow checker
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) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#135427
opened Jan 13, 2025 by
QuineDot
improve spans for Area: The borrow checker
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
D-imprecise-spans
Diagnostics: spans don't point to exactly the erroneous code
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
CallArgument
constraints
A-borrow-checker
#135238
opened Jan 8, 2025 by
lcnr
strange borrowing suggestion
A-borrow-checker
Area: The borrow checker
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.
#134805
opened Dec 26, 2024 by
est31
Cannot return value from loop when temporary mutable access occurs before.
A-borrow-checker
Area: The borrow checker
C-bug
Category: This is a bug.
fixed-by-polonius
Compiling with `-Zpolonius` fixes this issue.
T-types
Relevant to the types team, which will review and decide on the PR/issue.
#133539
opened Nov 27, 2024 by
nikvoid
Large arrays of enum variants causes polonius to have massive performance issues
A-borrow-checker
Area: The borrow checker
C-bug
Category: This is a bug.
I-compiletime
Issue: Problems and improvements with respect to compile times.
NLL-polonius
Issues related for using Polonius in the borrow checker
requires-nightly
This issue requires a nightly compiler in some way.
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.
#133054
opened Nov 14, 2024 by
lilyyy411
GAT Area: The borrow checker
A-diagnostics
Area: Messages for errors, warnings, and lints
A-dyn-trait
Area: trait objects, vtable layout
A-lifetimes
Area: Lifetimes / regions
D-terse
Diagnostics: An error or lint that doesn't give enough information about the problem at hand.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
type Assoc<T: ?Sized>
implicitly requires Self
to be 'static
A-borrow-checker
#131008
opened Sep 29, 2024 by
Veetaha
"Reference to data owned by current function" for a function owning no data.
A-borrow-checker
Area: The borrow checker
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.
#130584
opened Sep 19, 2024 by
iago-lito
Moving mutable borrows in/out of inferred types results in the compiler thinking they are moved as if they were owned values
A-borrow-checker
Area: The borrow checker
C-discussion
Category: Discussion or questions that doesn't represent real issues.
#129694
opened Aug 28, 2024 by
yorickpeterse
Allow exactly one mutable reference even after multiple immutable reference in same scope
A-borrow-checker
Area: The borrow checker
C-discussion
Category: Discussion or questions that doesn't represent real issues.
#128933
opened Aug 10, 2024 by
coderboyisongithub
mut struct member var(ref) bind to new obj still hint: does not live long enough
A-borrow-checker
Area: The borrow checker
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#128225
opened Jul 26, 2024 by
sosotan
*x == *y
for trait objects produce move error, so it is not equivalent to PartialEq::eq(&*x, &*y)
even though the reference says it is
A-borrow-checker
#127215
opened Jul 1, 2024 by
estebank
Regression between nightlies with Area: The borrow checker
C-bug
Category: This is a bug.
NLL-polonius
Issues related for using Polonius in the borrow checker
requires-nightly
This issue requires a nightly compiler in some way.
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.
-Zpolonius
A-borrow-checker
#126520
opened Jun 15, 2024 by
Nadrieril
MIR_borrow_checking and MIR_effect_checking are very slow
A-borrow-checker
Area: The borrow checker
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-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.
#126440
opened Jun 13, 2024 by
programmerjake
Implementing Area: The borrow checker
A-lifetimes
Area: Lifetimes / regions
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
T-types
Relevant to the types team, which will review and decide on the PR/issue.
Copy
can be a breaking change
A-borrow-checker
#126179
opened Jun 9, 2024 by
Jules-Bertholet
Generic Area: The borrow checker
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
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.
(&A -> T) -> (&'a A -> Box<dyn Any + 'a>)
crashes
A-borrow-checker
#125891
opened Jun 2, 2024 by
ItzShiney
fixed-by-polonius loops/functions have very bad diagnostics
A-borrow-checker
Area: The borrow checker
A-diagnostics
Area: Messages for errors, warnings, and lints
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
D-terse
Diagnostics: An error or lint that doesn't give enough information about the problem at hand.
fixed-by-polonius
Compiling with `-Zpolonius` fixes this issue.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#125217
opened May 17, 2024 by
jyn514
Previous Next
ProTip!
Updated in the last three days: updated:>2025-05-27.