File: struct_align.stderr

package info (click to toggle)
rust-cxx 1.0.192-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,808 kB
  • sloc: cpp: 1,625; javascript: 124; sh: 11; makefile: 8
file content (17 lines) | stat: -rw-r--r-- 483 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error: invalid repr(align) attribute: not a power of two
 --> tests/ui/struct_align.rs:3:18
  |
3 |     #[repr(align(3))]
  |                  ^

error: invalid repr(align) attribute: larger than 2^13
 --> tests/ui/struct_align.rs:9:18
  |
9 |     #[repr(align(1073741824))]
  |                  ^^^^^^^^^^

error: invalid repr(align) attribute: an arithmetic expression is not supported
  --> tests/ui/struct_align.rs:14:18
   |
14 |     #[repr(align(-2))]
   |                  ^^