1 error[E0308]: mismatched types
2 --> $DIR/issue-106443-sugg-clone-for-arg.rs:11:9
5 | --- ^ expected struct `S`, found `&S`
7 | arguments to this function are incorrect
9 note: function defined here
10 --> $DIR/issue-106443-sugg-clone-for-arg.rs:7:4
14 help: consider using clone here
19 error[E0308]: mismatched types
20 --> $DIR/issue-106443-sugg-clone-for-arg.rs:17:9
23 | --- ^ expected struct `T`, found `&T`
25 | arguments to this function are incorrect
27 note: function defined here
28 --> $DIR/issue-106443-sugg-clone-for-arg.rs:14:4
33 error: aborting due to 2 previous errors
35 For more information about this error, try `rustc --explain E0308`.