mirror of
https://github.com/rust-lang/rust
synced 2024-09-15 22:50:55 +00:00
18 lines
419 B
Plaintext
18 lines
419 B
Plaintext
error: expected type, found `"test"`
|
|
--> $DIR/diagnostics-parenthesized-type-arguments-issue-120892-1.rs:11:9
|
|
|
|
|
LL | foo::(
|
|
| --- while parsing this parenthesized list of type arguments starting here
|
|
...
|
|
LL | baz("test"),
|
|
| ^^^^^^ expected type
|
|
|
|
|
help: consider removing the `::` here to call the expression
|
|
|
|
|
LL - foo::(
|
|
LL + foo(
|
|
|
|
|
|
|
error: aborting due to 1 previous error
|
|
|