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
Sort

Issues list

Tracking issue for release notes of #132706: Stabilize async closures (RFC 3668) A-async-await Area: Async & Await F-async_closure `#![feature(async_closure)]` relnotes Marks issues that should be documented in the release notes of the next release. relnotes-tracking-issue Marks issues tracking what text to put in release notes. T-lang Relevant to the language team, which will review and decide on the PR/issue.
#133596 opened Nov 28, 2024 by rustbot
3 tasks
1.85.0
Tracking issue for release notes of #132611: Add AsyncFn* to to the prelude in all editions A-async-await Area: Async & Await relnotes Marks issues that should be documented in the release notes of the next release. relnotes-tracking-issue Marks issues tracking what text to put in release notes. T-lang Relevant to the language team, which will review and decide on the PR/issue. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
#133385 opened Nov 23, 2024 by rustbot
3 tasks
1.85.0
Tracking issue for release notes of #129347: #[inline(never)] does not work for async functions A-async-await Area: Async & Await A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. relnotes Marks issues that should be documented in the release notes of the next release. relnotes-tracking-issue Marks issues tracking what text to put in release notes. T-lang Relevant to the language team, which will review and decide on the PR/issue.
#132573 opened Nov 3, 2024 by rustbot
3 tasks
ICE: Building async destructor constructor shim is not yet implemented for type: Coroutine -Zvalidate-mir 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.
#132103 opened Oct 24, 2024 by matthiaskrgr
Repeated calls to the same async fn can cause stack overflow A-async-await Area: Async & Await C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#132050 opened Oct 23, 2024 by xmh0511
Returning bare trait from an async function gives subpar suggestion A-async-await Area: Async & Await A-diagnostics Area: Messages for errors, warnings, and lints D-invalid-suggestion Diagnostics: A structured suggestion resulting in incorrect code. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#131661 opened Oct 13, 2024 by GrigorenkoPV
Adding explicit lifetimes causes compilation error A-async-await Area: Async & Await A-lifetimes Area: Lifetimes / regions C-discussion Category: Discussion or questions that doesn't represent real issues.
#131336 opened Oct 6, 2024 by varqox
Outlives requirements are not implied in the return type of async fn, and generally for RPIT A-async-await Area: Async & Await A-impl-trait Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch. A-implied-bounds Area: Implied bounds / inferred outlives-bounds AsyncAwait-Triaged Async-await issues that have been triaged during a working group meeting. C-bug Category: This is a bug. T-types Relevant to the types team, which will review and decide on the PR/issue.
#130935 opened Sep 27, 2024 by jackh726
Send bound of trait object make unexpected async block is not general enough error A-async-await Area: Async & Await A-diagnostics Area: Messages for errors, warnings, and lints A-trait-system Area: Trait system C-bug Category: This is a bug.
#130596 opened Sep 20, 2024 by ethe
Bogus "implementation of <whatever trait you want> is not general enough" with RPITIT + async A-async-await Area: Async & Await A-impl-trait Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch. A-trait-system Area: Trait system C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#130113 opened Sep 8, 2024 by jplatte
async code fails to compile with -Znext-solver A-async-await Area: Async & Await AsyncAwait-Triaged Async-await issues that have been triaged during a working group meeting. C-bug Category: This is a bug. 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. T-types Relevant to the types team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)
#129865 opened Sep 1, 2024 by 0xdeafbeef
#[inline(never)] does not work for async functions A-async-await Area: Async & Await A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. AsyncAwait-Triaged Async-await issues that have been triaged during a working group meeting. C-bug Category: This is a bug. disposition-merge This issue / PR is in PFCP or FCP with a disposition to merge it. finished-final-comment-period The final comment period is finished for this PR / Issue. S-has-mcve Status: A Minimal Complete and Verifiable Example has been found for this issue T-lang Relevant to the language team, which will review and decide on the PR/issue.
#129347 opened Aug 21, 2024 by michaelwoerister
Misleading help suggests Sync bound when shareable reference is passed across or into await A-async-await Area: Async & Await A-diagnostics Area: Messages for errors, warnings, and lints AsyncAwait-Triaged Async-await issues that have been triaged during a working group meeting. 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.
#129105 opened Aug 14, 2024 by mzabaluev
rustc fails to prove Sendness for an async block where a !Send value is dropped before an .await point A-async-await Area: Async & Await AsyncAwait-Triaged Async-await issues that have been triaged during a working group meeting. C-bug Category: This is a bug. F-coroutines `#![feature(coroutines)]`
#128095 opened Jul 23, 2024 by frank-king
Async code causes error "implementation of FnOnce is not general enough" when demanding an impl Send A-async-await Area: Async & Await A-diagnostics Area: Messages for errors, warnings, and lints AsyncAwait-Triaged Async-await issues that have been triaged during a working group meeting. 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.
#126551 opened Jun 16, 2024 by theemathas
Extremely un-informative error when a future that capture the environment is used as Send A-async-await Area: Async & Await A-diagnostics Area: Messages for errors, warnings, and lints AsyncAwait-Triaged Async-await issues that have been triaged during a working group meeting. 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.
#126550 opened Jun 16, 2024 by Ciel-MC
Tracking Issue for async drop codegen A-async-await Area: Async & Await AsyncAwait-Triaged Async-await issues that have been triaged during a working group meeting. C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC F-async_drop Async drop 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. WG-async Working group: Async & await
#126482 opened Jun 14, 2024 by zetanumbers
3 of 20 tasks
async_closure: error: implementation of AsyncFnOnce is not general enough A-async-await Area: Async & Await AsyncAwait-Triaged Async-await issues that have been triaged during a working group meeting. C-bug Category: This is a bug. 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.
#126350 opened Jun 12, 2024 by Jacherr
Bug when using .flatten() method that has Item = &'a T when calling async function inside loop A-async-await Area: Async & Await A-auto-traits Area: auto traits (e.g., `auto trait Send {}`) A-diagnostics Area: Messages for errors, warnings, and lints A-trait-system Area: Trait system AsyncAwait-Triaged Async-await issues that have been triaged during a working group meeting. C-bug Category: This is a bug. D-confusing Diagnostics: Confusing error or lint that should be reworked.
#126044 opened Jun 5, 2024 by p0lunin
Poor interaction between NLL-borrowck, async, and c_variadic's ... desugaring (VaListImpl<'_>) A-async-await Area: Async & Await AsyncAwait-Triaged Async-await issues that have been triaged during a working group meeting. F-c_variadic `#![feature(c_variadic)]` 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.
#125431 opened May 23, 2024 by nnethercote
Weird type inference around impl Trait and async A-async-await Area: Async & Await A-inference Area: Type inference AsyncAwait-Triaged Async-await issues that have been triaged during a working group meeting. C-bug Category: This is a bug. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#124757 opened May 5, 2024 by Pzixel
Universe errors involving an opaque type results in hallucinations and unused bound vars A-async-await Area: Async & Await A-diagnostics Area: Messages for errors, warnings, and lints A-impl-trait Area: `impl Trait`. Universally / existentially quantified anonymous types with static dispatch. A-lifetimes Area: Lifetimes / regions AsyncAwait-Triaged Async-await issues that have been triaged during a working group meeting. D-confusing Diagnostics: Confusing error or lint that should be reworked. fixed-by-async-closures Fixed by `#![feature(async_closure)]` 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.
#124472 opened Apr 28, 2024 by WaffleLapkin
Strange error message when trying to call a function that takes a closure that returns a future A-async-await Area: Async & Await A-closures Area: Closures (`|…| { … }`) A-diagnostics Area: Messages for errors, warnings, and lints AsyncAwait-Triaged Async-await issues that have been triaged during a working group meeting. fixed-by-async-closures Fixed by `#![feature(async_closure)]` T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. WG-async Working group: Async & await
#123717 opened Apr 10, 2024 by tljubej-tbtl
Tracking Issue for context_ext A-async-await Area: Async & Await AsyncAwait-Triaged Async-await issues that have been triaged during a working group meeting. C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC F-context_ext `#![feature(context_ext)]` T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. WG-async Working group: Async & await
#123392 opened Apr 2, 2024 by jkarneges
1 of 3 tasks
Recursive async functions don't internally implement auto traits A-async-await Area: Async & Await A-auto-traits Area: auto traits (e.g., `auto trait Send {}`) A-trait-system Area: Trait system AsyncAwait-Triaged Async-await issues that have been triaged during a working group meeting. C-bug Category: This is a bug. fixed-by-next-solver Fixed by the next-generation trait solver, `-Znext-solver`. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. WG-async Working group: Async & await
#123072 opened Mar 26, 2024 by drewtato
ProTip! Exclude everything labeled bug with -label:bug.