edef1c / libfringe

a Rust library implementing safe, lightweight context switches, without relying on kernel services
https://edef1c.github.io/libfringe
Apache License 2.0
512 stars 31 forks source link

unions may not contain fields that need dropping #82

Closed gz closed 5 years ago

gz commented 5 years ago

master fails to compile on latest rustc (rustc 1.40.0-nightly (b520af6fd 2019-11-03)):

error[E0740]: unions may not contain fields that need dropping
  --> src/generator.rs:95:3
   |
95 |   inner: T
   |   ^^^^^^^^
   |
edef1c commented 5 years ago

Fixed by 17c41ce777a8484213b024d9ac3b6395fa8b188c ^_^