Sign in
rust
/
rust-lang
/
rust
/
refs/heads/beta
/
.
/
tests
/
ui
/
async-await
/
recursive-async-auto-trait-overflow.rs
blob: 716600ce4727893e534f801adc57ef9a20ea09ea [
file
] [
log
] [
blame
]
// Regression test for <https://github.com/rust-lang/rust/issues/145151>.
//@ edition: 2024
//@ check-pass
async
fn
process
<
'
a
>()
{
Box
::
pin
(
process
()).
await
;
}
fn
require_send
(
_
:
impl
Send
)
{}
fn
main
()
{
require_send
(
process
());
}