mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
14 lines
233 B
Rust
14 lines
233 B
Rust
//@ known-bug: rust-lang/rust#123255
|
|
//@ edition:2021
|
|
#![crate_type = "lib"]
|
|
|
|
pub fn a() {}
|
|
|
|
mod handlers {
|
|
pub struct C(&());
|
|
pub fn c() -> impl Fn() -> C {
|
|
let a1 = ();
|
|
|| C((crate::a(), a1).into())
|
|
}
|
|
}
|