Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Threema/libthreema/macros/tests/fail/   (Social Medium ©)  Datei vom 26.9.2026 mit Größe 1 kB image not shown  

Quelle  01-incorrect-length.stderr  Sprache: unbekannt

 
Spracherkennung für: .stderr vermutete Sprache: VDM {VDM[130] ADA[90] SPS[90]} [Methode: maximale Elemente, drei Dimensionen]

error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
 --> tests/fail/01-incorrect-length.rs:8:28
  |
8 |     let _result: [u8; 8] = concat_fixed_bytes!(a, b); // yields 7 bytes, not 8
  |                            ^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: source type: `main::ConcatenatedArrays<4, 3>` (56 bits)
  = note: target type: `[u8; 8]` (64 bits)
  = note: this error originates in the macro `concat_fixed_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
 --> tests/fail/01-incorrect-length.rs:9:28
  |
9 |     let _result: [u8; 8] = concat_fixed_bytes!(a, b, c); // yields 10 bytes, not 8
  |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: source type: `main::ConcatenatedArrays<4, 3, 3>` (80 bits)
  = note: target type: `[u8; 8]` (64 bits)
  = note: this error originates in the macro `concat_fixed_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)

[Dauer der Verarbeitung: 0.9 Sekunden]