japaric / stm32f103xx-hal

HAL for the STM32F103xx family of microcontrollers
Apache License 2.0
116 stars 40 forks source link

Build error (packed field borrows) #31

Closed lnicola closed 6 years ago

lnicola commented 6 years ago
error: borrow of packed field requires unsafe function or block (error E0133)
   --> src/dma.rs:164:19
    |
164 |             flag: &self.flag,
    |                   ^^^^^^^^^^
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
    = note: for more information, see issue #46043 <https://github.com/rust-lang/rust/issues/46043>