Sign in
fuchsia
/
third_party
/
rust
/
2fcea9fb68c8e04f10e5cb15bbfb486de9800afa
/
.
/
tests
/
ui
/
const-generics
/
generic_const_exprs
/
closures.rs
blob: 1ea310d063b82a6db2fe30bfd88d429e21d9efbd [
file
] [
log
] [
blame
]
#![
feature
(
generic_const_exprs
)]
#![
allow
(
incomplete_features
)]
fn
test
<
const
N
:
usize
>()
->
[
u8
;
N
+
(||
42
)()]
{}
//~^ ERROR cycle detected when building an abstract representation
fn
main
()
{}