Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
rfcs
/
rfc-2632-const-trait-impl
/
effects
/
infer-fallback.rs
blob: 85aabe46640e7be11548c4fe1414638b11710c5e [
file
] [
log
] [
blame
]
//@ check-pass
#![
feature
(
const_trait_impl
,
effects
)]
const
fn
a
()
{}
fn
foo
<
F
:
FnOnce
()>(
a
:
F
)
{}
fn
main
()
{
let
_
=
a
;
foo
(
a
);
}