Sign in
◑
Theme
rust
/
rust
/
a123594de1feec1732ed9251135bc42ccaaef8f3
/
.
/
tests
/
crashes
/
149809.rs
blob: fafd1d5224e8996868404d2692155f4197d477ea [
file
]
//@ known-bug: #149809
#![
feature
(
min_generic_const_args
)]
#![
feature
(
inherent_associated_types
)]
struct
Qux
<
'
a
>
{
x
:
&
'
a
(),
}
impl
<
'a> Qux<'
a
>
{
type
const
LEN
:
usize
=
4
;
fn
foo
(
_
:
[
u8
;
core
::
direct_const_arg
!(
Qux
::
LEN
)])
{}
}
fn
main
()
{}