rusticl: fix clippy lint having bounds defined in multiple places

Fixes: 734352ddfb ("rusticl/program: some boilerplate code for SPIR-V support")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30410>
(cherry picked from commit 7a8b1dc6e5)
This commit is contained in:
Karol Herbst 2024-07-29 14:07:06 +02:00 committed by Eric Engestrom
parent 5d0a3cf84f
commit 81b0c68fb0
2 changed files with 3 additions and 3 deletions

View file

@ -144,7 +144,7 @@
"description": "rusticl: fix clippy lint having bounds defined in multiple places",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "734352ddfb91f14aab2dd43937d45a360044f5cf",
"notes": null

View file

@ -224,9 +224,9 @@ where
}
}
pub fn cl_prop<T: CLProp>(v: T) -> Vec<MaybeUninit<u8>>
pub fn cl_prop<T>(v: T) -> Vec<MaybeUninit<u8>>
where
T: Sized,
T: CLProp + Sized,
{
v.cl_vec()
}