Sign in
android
/
toolchain
/
rustc
/
89a0a0cd9cbd0a0138a09bd877bbc73859a8c330
/
.
/
src
/
test
/
ui
/
rfc-2632-const-trait-impl
/
issue-102985.rs
blob: 07d3f51edce5ea80eb8baf6e4d3559e7c5bd4385 [
file
] [
log
] [
blame
]
#![
feature
(
const_trait_impl
)]
struct
Bug
{
inner
:
[();
match
||
1
{
n
=>
n
(),
//~^ ERROR the trait bound
//~| ERROR the trait bound
//~| ERROR cannot call non-const closure in constants
}],
}
fn
main
()
{}