]> git.lizzy.rs Git - rust.git/blob - src/test/ui/asm/x86_64/interpolated-idents.stderr
Rollup merge of #97325 - tmiasko:capture-enum-field, r=arora-aman
[rust.git] / src / test / ui / asm / x86_64 / interpolated-idents.stderr
1 error: the `nomem` and `readonly` options are mutually exclusive
2   --> $DIR/interpolated-idents.rs:13:13
3    |
4 LL |               $options($pure, $nomem, $readonly, $preserves_flags, $noreturn, $nostack, $att_syntax));
5    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 ...
7 LL | /     m!(in out lateout inout inlateout const sym
8 LL | |        pure nomem readonly preserves_flags
9 LL | |        noreturn nostack att_syntax options);
10    | |___________________________________________- in this macro invocation
11    |
12    = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
13
14 error: the `pure` and `noreturn` options are mutually exclusive
15   --> $DIR/interpolated-idents.rs:13:13
16    |
17 LL |               $options($pure, $nomem, $readonly, $preserves_flags, $noreturn, $nostack, $att_syntax));
18    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19 ...
20 LL | /     m!(in out lateout inout inlateout const sym
21 LL | |        pure nomem readonly preserves_flags
22 LL | |        noreturn nostack att_syntax options);
23    | |___________________________________________- in this macro invocation
24    |
25    = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
26
27 error: asm outputs are not allowed with the `noreturn` option
28   --> $DIR/interpolated-idents.rs:10:32
29    |
30 LL |               asm!("", $in(x) x, $out(x) x, $lateout(x) x, $inout(x) x, $inlateout(x) x,
31    |                                  ^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^
32 ...
33 LL |       m!(in out lateout inout inlateout const sym
34    |  _____-
35    | |_____|
36    | |_____|
37    | |_____|
38    | |
39 LL | |        pure nomem readonly preserves_flags
40 LL | |        noreturn nostack att_syntax options);
41    | |                                           -
42    | |___________________________________________|
43    | |___________________________________________in this macro invocation
44    | |___________________________________________in this macro invocation
45    | |___________________________________________in this macro invocation
46    |                                             in this macro invocation
47    |
48    = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
49
50 error: aborting due to 3 previous errors
51