rust/tests/ui/attributes/instruction-set.stderr
2025-12-31 03:01:05 +01:00

31 lines
1.1 KiB
Text

error[E0539]: malformed `instruction_set` attribute input
--> $DIR/instruction-set.rs:21:1
|
LL | #[instruction_set(arm)]
| ^^^^^^^^^^^^^^^^^^---^^
| | |
| | valid arguments are `arm::a32` or `arm::t32`
| help: must be of the form: `#[instruction_set(set)]`
|
= note: for more information, visit <https://doc.rust-lang.org/reference/attributes/codegen.html#the-instruction_set-attribute>
error: expected identifier, found `<eof>`
--> $DIR/instruction-set.rs:26:22
|
LL | #[instruction_set(arm::)]
| ^^ expected identifier
error[E0539]: malformed `instruction_set` attribute input
--> $DIR/instruction-set.rs:31:1
|
LL | #[instruction_set(arm::magic)]
| ^^^^^^^^^^^^^^^^^^^^^^^-----^^
| | |
| | valid arguments are `a32` or `t32`
| help: must be of the form: `#[instruction_set(set)]`
|
= note: for more information, visit <https://doc.rust-lang.org/reference/attributes/codegen.html#the-instruction_set-attribute>
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0539`.