Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
crashes
/
130521.rs
blob: 7c078ab5790943205f7a9be1be9582a59d9f13dc [
file
] [
log
] [
blame
] [
edit
]
//@ known-bug: #130521
#![
feature
(
dyn_compatible_for_dispatch
)]
struct
Vtable
(
dyn
Cap
);
trait
Cap
<
'
a
>
{}
union
Transmute
{
t
:
u64
,
u
:
&
'
static
Vtable
,
}
const
G
:
&
Copy
=
unsafe
{
Transmute
{
t
:
1
}.
u
};