Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
auxiliary
/
iss.rs
blob: cf32f6c2d5dc8db71ffcede648ecaad8e273ff26 [
file
] [
log
] [
blame
] [
edit
]
#![
crate_name
=
"issue6919_3"
]
// part of issue-6919.rs
pub
struct
C
<
K
>
where K
:
FnOnce
()
{
pub
k
:
K
,
}
fn
no_op
()
{
}
pub
const
D
:
C
<
fn
()>
=
C
{
k
:
no_op
as
fn
()
};