fn field_is_borrowed_ref(ty: &Type) -> bool
True if ty is a borrowed reference (&[T], &[T; N], &str, …). Such expansion fields can’t be reconstructed by value in the R→Rust reader.
ty
&[T]
&[T; N]
&str