1 error[E0069]: `return;` in a function whose return type is not `()`
2 --> $DIR/return-unit-from-diverging.rs:5:5
5 | - expected `!` because of this return type
7 | ^^^^^^ return type is not `()`
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0069`.