Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
consts
/
issue-44415.rs
blob: d93b451be453a2f6510a1f4229b576887ceeaf77 [
file
] [
log
] [
blame
] [
edit
]
#![
feature
(
core_intrinsics
)]
use
std
::
intrinsics
;
struct
Foo
{
bytes
:
[
u8
;
unsafe
{
intrinsics
::
size_of
::<
Foo
>()
}],
//~^ ERROR cycle detected when evaluating type-level constant
x
:
usize
,
}
fn
main
()
{}