--> $DIR/fn-arg-doc-comment.rs:18:7
|
LL | f("", "");
- | ^^ expected u8, found reference
- |
- = note: expected type `u8`
- found type `&'static str`
+ | ^^ expected u8, found &str
error[E0308]: mismatched types
--> $DIR/fn-arg-doc-comment.rs:18:11
|
LL | f("", "");
- | ^^ expected u8, found reference
- |
- = note: expected type `u8`
- found type `&'static str`
+ | ^^ expected u8, found &str
error[E0308]: mismatched types
- --> $DIR/fn-arg-doc-comment.rs:25:9
+ --> $DIR/fn-arg-doc-comment.rs:23:9
|
LL | bar("");
- | ^^ expected i32, found reference
- |
- = note: expected type `i32`
- found type `&'static str`
+ | ^^ expected i32, found &str
error: aborting due to 6 previous errors