Sign in
fuchsia
/
third_party
/
rust
/
97d936423c914c4e3402bfecfd6943e1edf23815
/
.
/
src
/
test
/
compile-fail
/
issue-44415.rs
blob: 763f85748736e315a3210f342874e1d09cf926bf [
file
] [
log
] [
blame
]
#![
feature
(
core_intrinsics
)]
use
std
::
intrinsics
;
struct
Foo
{
bytes
:
[
u8
;
unsafe
{
intrinsics
::
size_of
::<
Foo
>()
}],
//~^ ERROR cycle detected when const-evaluating + checking
x
:
usize
,
}
fn
main
()
{}