Skip to content

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
Filter by author
Loading
Label
Filter by label
Loading
Use alt + click/return to exclude labels
or + click/return for logical OR
Projects
Filter by project
Loading
Milestones
Filter by milestone
Loading
Assignee
Filter by who’s assigned
Assigned to nobody Loading
Sort

Issues list

[Polonius] Timeout while compiling handcrafted example 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.
#140454 opened Apr 29, 2025 by usx95
ICE: polonius: None in region infer with unconditional panic A-diagnostics Area: Messages for errors, warnings, and lints C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ NLL-polonius Issues related for using Polonius in the borrow checker S-bug-has-test Status: This bug is tracked inside the repo by a `known-bug` test. T-types Relevant to the types team, which will review and decide on the PR/issue.
#135646 opened Jan 17, 2025 by matthiaskrgr
Polonius fails to infer lifetimes of borrows C-bug Category: This is a bug. NLL-polonius Issues related for using Polonius in the borrow checker T-types Relevant to the types team, which will review and decide on the PR/issue.
#134554 opened Dec 20, 2024 by zeenix
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
Regression between nightlies with -Zpolonius A-borrow-checker 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.
#126520 opened Jun 15, 2024 by Nadrieril
Borrow checking can be effected by seemingly irrelevant statements A-borrow-checker Area: The borrow checker C-bug Category: This is a bug. NLL-polonius Issues related for using Polonius in the borrow checker T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#111298 opened May 6, 2023 by matthewjasper
"left.extend_from_slice(right.strip_prefix(&mut left[n..]).unwrap())" doesn't compile A-borrow-checker Area: The borrow checker A-lifetimes Area: Lifetimes / regions A-NLL Area: Non-lexical lifetimes (NLL) C-bug Category: This is a bug. NLL-polonius Issues related for using Polonius in the borrow checker T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#110362 opened Apr 15, 2023 by safinaskar
"&mut v[v[0]..]" doesn't compile A-borrow-checker Area: The borrow checker A-lifetimes Area: Lifetimes / regions A-NLL Area: Non-lexical lifetimes (NLL) C-bug Category: This is a bug. NLL-polonius Issues related for using Polonius in the borrow checker T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#110351 opened Apr 15, 2023 by safinaskar
proc-macro-hack takes excessively long to check with polonius C-optimization Category: An issue highlighting optimization opportunities or PRs implementing such 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.
#98029 opened Jun 12, 2022 by joshtriplett
infinite? loop when compiling serde_derive utilizing polonius 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.
#81303 opened Jan 23, 2021 by djugei
Polonius performance problem on nix and libc C-bug Category: This is a bug. I-slow Issue: Problems and improvements with respect to performance of generated code. NLL-performant Working towards the "performance is good" goal NLL-polonius Issues related for using Polonius in the borrow checker T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#75858 opened Aug 23, 2020 by joshtriplett
Inconsistent borrow check in 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. NLL-polonius Issues related for using Polonius in the borrow checker P-medium Medium priority T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#74068 opened Jul 5, 2020 by Nugine
BinaryHeap::peek_mut borrow check error (previously worked with -Z polonius) A-borrow-checker Area: The borrow checker C-bug Category: This is a bug. NLL-polonius Issues related for using Polonius in the borrow checker T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#70797 opened Apr 5, 2020 by andersk
Mutable borrow of field with autoref vs ref mut A-lifetimes Area: Lifetimes / regions A-NLL Area: Non-lexical lifetimes (NLL) NLL-complete Working towards the "valid code works" goal NLL-polonius Issues related for using Polonius in the borrow checker T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#67957 opened Jan 7, 2020 by davidhewitt
rust compiler bug on borrow/ownership? A-NLL Area: Non-lexical lifetimes (NLL) C-bug Category: This is a bug. NLL-complete Working towards the "valid code works" goal NLL-polonius Issues related for using Polonius in the borrow checker T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#67824 opened Jan 3, 2020 by fifc
Occasional "cannot move out" error (E0505) when adding a match guard A-borrow-checker Area: The borrow checker A-NLL Area: Non-lexical lifetimes (NLL) C-enhancement Category: An issue proposing an enhancement or a PR with one. NLL-polonius Issues related for using Polonius in the borrow checker T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#65236 opened Oct 9, 2019 by bytefall
spurious error "cannot borrow *x as mutable more than once at a time" A-NLL Area: Non-lexical lifetimes (NLL) C-enhancement Category: An issue proposing an enhancement or a PR with one. NLL-polonius Issues related for using Polonius in the borrow checker T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#63185 opened Aug 1, 2019 by benw
match guard is lengthening borrow unexpectedly under NLL A-NLL Area: Non-lexical lifetimes (NLL) C-bug Category: This is a bug. NLL-complete Working towards the "valid code works" goal NLL-polonius Issues related for using Polonius in the borrow checker T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#62170 opened Jun 27, 2019 by pnkfelix
Borrow checker doesn't accept certain valid case when branch involves A-NLL Area: Non-lexical lifetimes (NLL) NLL-polonius Issues related for using Polonius in the borrow checker T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#57165 opened Dec 28, 2018 by upsuper
Borrow error in if statement inside match arm, but not when a match guard is used A-NLL Area: Non-lexical lifetimes (NLL) NLL-polonius Issues related for using Polonius in the borrow checker T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#56374 opened Nov 30, 2018 by peterjoel
NLL: if let not detecting proper lifetime A-NLL Area: Non-lexical lifetimes (NLL) NLL-polonius Issues related for using Polonius in the borrow checker T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#51826 opened Jun 26, 2018 by Ekleog
NLL no longer figures out non-lexical lifetimes within loop A-NLL Area: Non-lexical lifetimes (NLL) C-enhancement Category: An issue proposing an enhancement or a PR with one. NLL-polonius Issues related for using Polonius in the borrow checker T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#51526 opened Jun 12, 2018 by daboross
Borrowing an immutable reference of a mutable reference through a function call in a loop is not accepted A-NLL Area: Non-lexical lifetimes (NLL) C-enhancement Category: An issue proposing an enhancement or a PR with one. NLL-polonius Issues related for using Polonius in the borrow checker T-lang Relevant to the language team
#51132 opened May 28, 2018 by shepmaster
The mutable borrow is released when matching on a Option<&mut Self> in a function, but not when the function is inlined A-NLL Area: Non-lexical lifetimes (NLL) C-bug Category: This is a bug. NLL-polonius Issues related for using Polonius in the borrow checker T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#47680 opened Jan 23, 2018 by shepmaster
ProTip! Mix and match filters to narrow down what you’re looking for.