fork/rust

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

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

master
2.1 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));
5   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6...
7LL | /     m!(in out lateout inout inlateout const sym
8LL | |        pure nomem readonly preserves_flags
9LL | |        noreturn nostack 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));
18   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19...
20LL | /     m!(in out lateout inout inlateout const sym
21LL | |        pure nomem readonly preserves_flags
22LL | |        noreturn nostack 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 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