fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0308]: mismatched types 2 --> $DIR/issue-107113-wrap.rs:7:1 3 | 4LL | #[issue_107113::main] 5 | ^^^^^^^^^^^^^^^^^^^^^ 6 | | 7 | expected `Result<(), Error>`, found `()` 8 | expected `Result<(), std::io::Error>` because of return type 9 | 10 = note: expected enum `Result<(), std::io::Error>` 11 found unit type `()` 12 = note: this error originates in the attribute macro `issue_107113::main` (in Nightly builds, run with -Z macro-backtrace for more info) 13 14error: aborting due to previous error 15 16For more information about this error, try `rustc --explain E0308`.