Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
traits
/
const-traits
/
issue-102985.rs
blob: ebab6566d4b579150f61534052885956438e9f63 [
file
] [
log
] [
blame
]
#![
feature
(
const_trait_impl
)]
struct
Bug
{
inner
:
[();
match
||
1
{
n
=>
n
(),
//~^ ERROR cannot call non-const closure in constants
}],
}
fn
main
()
{}