Function rustc_middle::ty::query::copy

source ·
fn copy<T: Copy>(x: &T) -> T
Expand description

Helper to ensure that queries only return Copy types.