Sign in
chromium
/
external
/
github.com
/
rust-lang
/
rust
/
16040a16285e3bfde82c3e4216d16a6e566494da
/
.
/
tests
/
ui
/
rfcs
/
rfc-2632-const-trait-impl
/
issue-102985.rs
blob: df242721bc31a10b337ce9ac2f6a5beb760e18e2 [
file
] [
log
] [
blame
]
// known-bug: #110395
#![
feature
(
const_trait_impl
)]
struct
Bug
{
inner
:
[();
match
||
1
{
n
=>
n
(),
//FIXME ~^ ERROR the trait bound
//FIXME ~| ERROR the trait bound
//FIXME ~| ERROR cannot call non-const closure in constants
}],
}
fn
main
()
{}