Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[macOS] Fix crashes due to the stabilization of the
!
(never) type (r…
…ust-windowing#428) Due to the recent changes in the Rust compiler, unconstrained type variables are now deduced to `!` instead of `()`. There are some occurrences where `msg_send!` is used without constraining its return type (relying on the assumption that they would be deduced to be `()`). As a result, the macOS port of winit stopped working. This PR fixes this issue (rust-windowing#426) by adding explicit return types to such uses of `msg_send!`.
- Loading branch information