Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
tools
/
miri
/
tests
/
run-pass
/
issue-31267-additional.rs
blob: f6d7209369b7078d0800f61910c35f4fac3dd385 [
file
] [
log
] [
blame
]
#[
derive
(
Clone
,
Copy
,
Debug
)]
struct
Bar
;
const
BAZ
:
Bar
=
Bar
;
#[
derive
(
Debug
)]
struct
Foo
([
Bar
;
1
]);
struct
Biz
;
impl
Biz
{
const
BAZ
:
Foo
=
Foo
([
BAZ
;
1
]);
}
fn
main
()
{
let
_foo
=
Biz
::
BAZ
;
}