1 error[E0308]: mismatched types
2 --> $DIR/return-from-diverging.rs:4:12
5 | - expected `!` because of return type
7 | ^^^^^ expected `!`, found `&str`
9 = note: expected type `!`
10 found reference `&'static str`
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0308`.