1
Fork 0
rust/compiler/rustc_ast_lowering/src
Matthias Krüger 65d20f39f3
Rollup merge of #136239 - folkertdev:show-supported-register-classes, r=SparrowLii,jieyouxu
show supported register classes in error message

a simple diagnostic change that shows the supported register classes when an invalid one is found.

This information can be hard to find (especially for unstable targets), and this message now gives at least something to try or search for. I've followed the pattern for invalid clobber ABIs.

`@rustbot` label +A-inline-assembly
2025-02-11 18:04:34 +01:00
..
asm.rs show supported register classes 2025-01-29 12:15:12 +01:00
block.rs (Re-)Implement impl_trait_in_bindings 2024-12-14 03:21:24 +00:00
delegation.rs compiler: remove rustc_target::spec::abi reexports 2025-02-09 20:45:47 -08:00
errors.rs Rollup merge of #136239 - folkertdev:show-supported-register-classes, r=SparrowLii,jieyouxu 2025-02-11 18:04:34 +01:00
expr.rs Don't ICE when failing to lower contracts for associated impl items 2025-02-10 21:38:31 +00:00
format.rs Rustfmt 2025-02-08 22:12:13 +00:00
index.rs Use a different hir type for patterns in pattern types than we use in match patterns 2025-02-03 08:18:30 +00:00
item.rs Auto merge of #136851 - jhpratt:rollup-ftijn95, r=jhpratt 2025-02-11 10:17:02 +00:00
lib.rs Auto merge of #136851 - jhpratt:rollup-ftijn95, r=jhpratt 2025-02-11 10:17:02 +00:00
pat.rs Allow using named consts in pattern types 2025-02-04 15:17:31 +00:00
path.rs tree-wide: parallel: Fully removed all Lrc, replaced with Arc 2025-02-03 13:25:57 +03:00
stability.rs compiler: start using rustc_ast_lowering in rustc_passes 2025-02-09 20:45:47 -08:00