1 error[E0308]: mismatched types
2 --> $DIR/call-fn-never-arg-wrong-type.rs:10:9
5 | --- ^^^^^ expected `!`, found `&str`
7 | arguments to this function are incorrect
9 = note: expected type `!`
10 found reference `&'static str`
11 note: function defined here
12 --> $DIR/call-fn-never-arg-wrong-type.rs:5:4
14 LL | fn foo(x: !) -> ! {
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0308`.