Sign in
android
/
toolchain
/
rustc
/
ee32a8b31351dab7161ea2edd877e46fc49c72d0
/
.
/
tests
/
ui
/
const-generics
/
default-ty-closure.rs
blob: 36128505dda35037c65e3d853a158a41f6a84e50 [
file
] [
log
] [
blame
]
// https://github.com/rust-lang/rust/issues/116796
struct
X
<
const
FN
:
fn
()
=
{
||
{}
}>;
//~^ ERROR using function pointers as const generic parameters is forbidden
fn
main
()
{}