Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
const-generics
/
bad-generic-in-copy-impl.rs
blob: 092a7af236badc50294ea2b9c09a9f2fee10fbd9 [
file
] [
log
] [
blame
] [
edit
]
#[
derive
(
Copy
,
Clone
)]
pub
struct
Foo
{
x
:
[
u8
;
SIZE
],
//~^ ERROR mismatched types
//~| ERROR mismatched types
}
const
SIZE
:
u32
=
1
;
fn
main
()
{}