fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
2.3 KiB46 linesraw
1error: the `nomem` and `readonly` options are mutually exclusive
2  --> $DIR/interpolated-idents.rs:13:13
3   |
4LL |               $options($pure, $nomem, $readonly, $preserves_flags, $noreturn, $nostack, $att_syntax));
5   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6...
7LL | /     m!(in out lateout inout inlateout const sym
8LL | |        pure nomem readonly preserves_flags
9LL | |        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
14error: the `pure` and `noreturn` options are mutually exclusive
15  --> $DIR/interpolated-idents.rs:13:13
16   |
17LL |               $options($pure, $nomem, $readonly, $preserves_flags, $noreturn, $nostack, $att_syntax));
18   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19...
20LL | /     m!(in out lateout inout inlateout const sym
21LL | |        pure nomem readonly preserves_flags
22LL | |        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
27error: asm outputs are not allowed with the `noreturn` option
28  --> $DIR/interpolated-idents.rs:10:32
29   |
30LL |               asm!("", $in(x) x, $out(x) x, $lateout(x) x, $inout(x) x, $inlateout(x) x,
31   |                                  ^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^
32...
33LL | /     m!(in out lateout inout inlateout const sym
34LL | |        pure nomem readonly preserves_flags
35LL | |        noreturn nostack att_syntax options);
36   | |                                           -
37   | |___________________________________________|
38   | |___________________________________________in this macro invocation
39   | |___________________________________________in this macro invocation
40   | |___________________________________________in this macro invocation
41   |                                             in this macro invocation
42   |
43   = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
44
45error: aborting due to 3 previous errors
46