Sign in
◑
Theme
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
refs/heads/upstream/beta
/
.
/
tests
/
crashes
/
149703.rs
blob: 40d78484307a651f601d24a7ad82befaa9ce63e3 [
file
] [
edit
]
//@ known-bug: #149703
#![
feature
(
const_trait_impl
)]
trait
Z
{
type
Assoc
;
}
struct
A
;
impl
<
T
:
const
FnOnce
()>
Z
for
T
{
type
Assoc
=
();
}
impl
<
T
>
From
<<
A
as
Z
>::
Assoc
>
for
T
{}
fn
main
()
{}