Sign in
◑
Theme
rust
/
rust
/
0ae3fd93a3a91460c1957fa38fa9514decbcdf23
/
.
/
tests
/
crashes
/
150049.rs
blob: 45289679e04ba383b556bce8cc4404b06ace1ca2 [
file
]
//@ known-bug: #150049
#![
feature
(
min_generic_const_args
)]
#![
feature
(
inherent_associated_types
)]
struct
Foo
<
'
a
>
{
x
:
&
'
a
(),
}
impl
<
'a> Foo<'
a
>
{
fn
foo
(
_
:
[
u8
;
core
::
direct_const_arg
!(
Foo
::
X
)])
{
std
::
mem
::
transmute
([
4
])
}
}
fn
main
()
{}