Content-Length: 24314 | pFad | https://doc.rust-lang.org/std/string/../error/../string/../net/../rc/../../error_codes/./E0074.html

E0074 - Error codes index

Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Error code E0074

Note: this error code is no longer emitted by the compiler.

When using the #[simd] attribute on a tuple struct, the components of the tuple struct must all be of a concrete, nongeneric type so the compiler can reason about how to use SIMD with them. This error will occur if the types are generic.

This will cause an error:

#![allow(unused)]
#![feature(repr_simd)]

fn main() {
#[repr(simd)]
struct Bad<T>([T; 4]);
}

This will not:

#![allow(unused)]
#![feature(repr_simd)]

fn main() {
#[repr(simd)]
struct Good([u32; 4]);
}








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://doc.rust-lang.org/std/string/../error/../string/../net/../rc/../../error_codes/./E0074.html

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy