It’s just a missing bound. Not sure why this particular formulation triggers an error, as opposed to an RFC 1214 warning. Reduces to:
use std::ops::Deref;
pub struct CsMat<N, DataStorage> where DataStorage: Deref<Target=[N]> {
_data: DataStorage,
}
pub struct ChunkOuterBlocks<'a, N> {
_mat: CsMat<N, &'a [N]>,
}
fn main(){}