]> git.lizzy.rs Git - rust.git/blob - src/test/ui/asm/duplicate-options.stderr
Add tests for global_asm!
[rust.git] / src / test / ui / asm / duplicate-options.stderr
1 error: the `nomem` option was already provided
2   --> $DIR/duplicate-options.rs:8:33
3    |
4 LL |         asm!("", options(nomem, nomem));
5    |                                 ^^^^^ this option was already provided
6
7 error: the `att_syntax` option was already provided
8   --> $DIR/duplicate-options.rs:10:38
9    |
10 LL |         asm!("", options(att_syntax, att_syntax));
11    |                                      ^^^^^^^^^^ this option was already provided
12
13 error: the `nostack` option was already provided
14   --> $DIR/duplicate-options.rs:12:56
15    |
16 LL |         asm!("", options(nostack, att_syntax), options(nostack));
17    |                                                        ^^^^^^^ this option was already provided
18
19 error: the `nostack` option was already provided
20   --> $DIR/duplicate-options.rs:14:35
21    |
22 LL |         asm!("", options(nostack, nostack), options(nostack), options(nostack));
23    |                                   ^^^^^^^ this option was already provided
24
25 error: the `nostack` option was already provided
26   --> $DIR/duplicate-options.rs:14:53
27    |
28 LL |         asm!("", options(nostack, nostack), options(nostack), options(nostack));
29    |                                                     ^^^^^^^ this option was already provided
30
31 error: the `nostack` option was already provided
32   --> $DIR/duplicate-options.rs:14:71
33    |
34 LL |         asm!("", options(nostack, nostack), options(nostack), options(nostack));
35    |                                                                       ^^^^^^^ this option was already provided
36
37 error: the `noreturn` option was already provided
38   --> $DIR/duplicate-options.rs:21:33
39    |
40 LL |             options(att_syntax, noreturn),
41    |                                 ^^^^^^^^ this option was already provided
42
43 error: the `nomem` option was already provided
44   --> $DIR/duplicate-options.rs:22:21
45    |
46 LL |             options(nomem, nostack),
47    |                     ^^^^^ this option was already provided
48
49 error: the `noreturn` option was already provided
50   --> $DIR/duplicate-options.rs:23:21
51    |
52 LL |             options(noreturn),
53    |                     ^^^^^^^^ this option was already provided
54
55 error: the `att_syntax` option was already provided
56   --> $DIR/duplicate-options.rs:28:37
57    |
58 LL | global_asm!("", options(att_syntax, att_syntax));
59    |                                     ^^^^^^^^^^ this option was already provided
60
61 error: aborting due to 10 previous errors
62