Sign in
rust
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
unboxed-closures
/
existential-printing.rs
blob: f43373202091b88e86c29d6c27d2b4aac2d638d2 [
file
] [
log
] [
blame
]
// Make sure we don't ICE printing `impl AsyncFnOnce<()>`.
#![
feature
(
unboxed_closures
,
fn_traits
)]
fn
f
()
->
impl
FnOnce
<()>
{
||
()
}
fn
main
()
{
()
=
f
();
}
//~^ ERROR mismatched types