rust/compiler/rustc_hir_analysis/src
Matthias Krüger fed24af611
Rollup merge of #134070 - oli-obk:push-nquzymupzlsq, r=jieyouxu
Some asm! diagnostic adjustments and a papercut fix

Best reviewed commit by commit.

We forgot a `normalize` call in intrinsic checking, causing us to allow literal integers, but not named constants containing that literal. This can in theory affect stable code, but only if libstd contains a stable SIMD type that has an array length that is a named constant. I'd assume we'd have noticed by now due to asm! rejecting those outright.

The error message left me scratching my head for a bit, so I added some extra information to the diagnostic, too.
2024-12-12 08:06:59 +01:00
..
check Clarify why a type is rejected for asm! 2024-12-11 20:17:37 +00:00
coherence Make Copy unsafe to implement for ADTs with unsafe fields 2024-12-07 20:50:00 +00:00
collect Rollup merge of #134105 - compiler-errors:validate-self-preds, r=wesleywiser 2024-12-11 03:30:41 -05:00
errors Clarify implicit captures for RPITIT 2024-10-10 11:46:51 -07:00
hir_ty_lowering Rollup merge of #134158 - compiler-errors:item-def-id, r=jackh726 2024-12-11 03:30:44 -05:00
impl_wf_check Fix const specialization 2024-12-02 22:21:53 +00:00
outlives Implement const effect predicate in new solver 2024-10-24 09:46:36 +00:00
variance Add variances to RPITITs 2024-10-10 11:46:48 -07:00
autoderef.rs Swap Vec<PredicateObligation> to type alias 2024-10-12 15:17:08 +01:00
bounds.rs Merge HostPolarity and BoundConstness 2024-10-30 16:23:16 +00:00
check_unused.rs Remove #[macro_use] extern crate tracing from rustc_hir_analysis. 2024-08-30 17:14:59 +10:00
collect.rs Rollup merge of #134094 - estebank:const-trait-errors, r=compiler-errors 2024-12-10 20:16:02 +01:00
constrained_generic_params.rs Remove #[macro_use] extern crate tracing from rustc_hir_analysis. 2024-08-30 17:14:59 +10:00
delegation.rs Effects cleanup 2024-10-26 10:19:07 +08:00
errors.rs Tweak wording of non-const traits used as const bounds 2024-12-10 00:38:05 +00:00
hir_wf_check.rs uplift fold_regions to rustc_type_ir 2024-11-28 10:40:58 +01:00
impl_wf_check.rs nightly feature tracking: get rid of the per-feature bool fields 2024-10-23 09:14:41 +01:00
lib.rs Rollup merge of #132047 - compiler-errors:rbv-rtn-cleanup, r=cjgillot 2024-12-01 08:15:21 +01:00