dotcypress / mtproxy

[WIP] MTProto proxy server
Apache License 2.0
195 stars 21 forks source link

Compile Error #10

Closed jLapa closed 6 years ago

jLapa commented 6 years ago

Centos 7

Compiling mtproxy v0.0.2 (file:///root/mtproxy)

error[E0580]: main function has wrong type --> src/main.rs:26:1 26 fn main() -> Result<(), io::Error> { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected (), found enum std::result::Result

= note: expected type fn() found type fn() -> std::result::Result<(), std::io::Error>

error: aborting due to previous error

error: Could not compile mtproxy.

To learn more, run the command again with --verbose.