Closed stagnation closed 7 years ago
It compiles following the help message
~/d/g/weechat-discord *master git diff
diff --git a/src/lib.rs b/src/lib.rs
index d1bd63c..6f04d6c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,3 +1,5 @@
+#![feature(closure_to_fn_coercion)]
+
extern crate discord;
extern crate libc;
a decently new cargo
You are using rustc 1.19.0-nightly (28fd1e519 2017-05-27)
. The current stable version is rustc 1.19.0
(the current nightly is 1.21.0-nightly (c417ee9ae 2017-07-25)
). Please update your cargo/rustc to the current stable version and try again :)
I'm closing this for now, as I fully expect upgrading rustc will resolve the issue. Please reopen this if this is not the case. Thanks! :blush:
Yes sorry, thank you for the quick reply. The proposed fix issues a warning on 1.21, which is also annoying so I retract that recommendation :-)
weechat-discord does not compile under a decently new cargo, see bottom for version listings.