rust/compiler/rustc_ty_utils/src
Stuart Cook fab06469ee
Rollup merge of #146667 - calebzulawski:simd-mono-lane-limit, r=lcnr,RalfJung
Add an attribute to check the number of lanes in a SIMD vector after monomorphization

Allows std::simd to drop the `LaneCount<N>: SupportedLaneCount` trait and maintain good error messages.

Also, extends rust-lang/rust#145967 by including spans in layout errors for all ADTs.

r? ``@RalfJung``

cc ``@workingjubilee`` ``@programmerjake``
2025-09-25 20:31:53 +10:00
..
layout use is_multiple_of instead of manual modulo 2025-07-05 10:55:35 +02:00
abi.rs Tell LLVM about read-only captures 2025-08-20 19:08:16 +02:00
assoc.rs Split AssocContainer::{InherentImpl,TraitImpl} 2025-09-12 15:14:15 -05:00
common_traits.rs Replace some Option<Span> with Span and use DUMMY_SP instead of None 2025-06-05 14:14:59 +00:00
consts.rs Introduce ByteSymbol. 2025-06-30 20:42:27 +10:00
errors.rs Add an attribute to check the number of lanes in a SIMD vector after monomorphization 2025-09-23 20:47:34 -04:00
implied_bounds.rs Introduce trait_item_of 2025-09-12 15:10:30 -05:00
instance.rs erase_regions to erase_and_anonymize_regions 2025-09-09 14:49:16 +02:00
layout.rs Rollup merge of #146667 - calebzulawski:simd-mono-lane-limit, r=lcnr,RalfJung 2025-09-25 20:31:53 +10:00
lib.rs update cfg(bootstrap) 2025-05-12 15:33:37 +02:00
needs_drop.rs fixup limit handling code 2025-09-08 15:07:12 -07:00
nested_bodies.rs change order of nested_bodies_within 2025-08-27 14:11:07 +02:00
opaque_types.rs Split AssocContainer::{InherentImpl,TraitImpl} 2025-09-12 15:14:15 -05:00
representability.rs Rename unpack to kind 2025-05-27 11:14:45 +00:00
sig_types.rs Propagate TraitImplHeader to hir 2025-08-11 17:05:42 -05:00
structural_match.rs Replace some Option<Span> with Span and use DUMMY_SP instead of None 2025-06-05 14:14:59 +00:00
ty.rs Rollup merge of #146597 - modhanami:add-struct-tail-recursion-limit-span, r=oli-obk 2025-09-18 17:20:57 +02:00