1 error[E0308]: mismatched types
2 --> $DIR/issue-61106.rs:3:9
7 | expected `&str`, found struct `String`
8 | help: consider borrowing here: `&x`
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0308`.