rust/tests/ui/asm/aarch64
bors c9687a95a6 Auto merge of #125558 - Amanieu:const-asm-type, r=lcnr
Tweak type inference for `const` operands in inline asm

Previously these would be treated like integer literals and default to `i32` if a type could not be determined. To allow for forward-compatibility with `str` constants in the future, this PR changes type inference to use an unbound type variable instead.

The actual type checking is deferred until after typeck where we still ensure that the final type for the `const` operand is an integer type.

<!--
If this PR is related to an unstable feature or an otherwise tracked effort,
please link to the relevant tracking issue here. If you don't know of a related
tracking issue or there are none, feel free to ignore this.

This PR will get automatically assigned to a reviewer. In case you would like
a specific user to review your work, you can assign it to them by using

    r​? <reviewer name>
-->
2024-08-06 01:20:43 +00:00
..
bad-options.rs update aarch64 asm tests 2024-07-27 19:08:59 +02:00
bad-options.stderr update aarch64 asm tests 2024-07-27 19:08:59 +02:00
bad-reg.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bad-reg.stderr Name explicit registers in conflict register errors for inline assembly 2023-11-28 10:37:19 +00:00
const.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
duplicate-options.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
duplicate-options.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
duplicate-options.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
interpolated-idents.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
interpolated-idents.stderr Fix duplicate labels emitted in render_multispan_macro_backtrace() 2023-10-19 08:03:40 +05:30
llvm-58384.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
may_unwind.rs Fix broken aarch64 unwind test 2024-06-19 13:54:55 +01:00
parse-error.rs update aarch64 asm tests 2024-07-27 19:08:59 +02:00
parse-error.stderr update aarch64 asm tests 2024-07-27 19:08:59 +02:00
srcloc.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
srcloc.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
sym.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-check-2-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-check-2-2.stderr Handle more cases of "values to suggest" given a type 2024-04-10 23:58:36 +00:00
type-check-2.rs separate test file for invalid sym operand 2024-08-01 20:13:05 +01:00
type-check-2.stderr separate test file for invalid sym operand 2024-08-01 20:13:05 +01:00
type-check-3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-check-3.stderr Update test for aarch64 2024-03-20 19:38:36 -04:00
type-check-4.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
type-check-4.stderr manually bless an aarch64 test 2024-02-10 16:13:48 +01:00