mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
14 lines
403 B
Plaintext
14 lines
403 B
Plaintext
error: missing angle brackets in associated item path
|
|
--> $DIR/issue-89388.rs:5:24
|
|
|
|
|
LL | let _ = option.map([_]::to_vec);
|
|
| ^^^
|
|
|
|
|
help: types that don't start with an identifier need to be surrounded with angle brackets in qualified paths
|
|
|
|
|
LL | let _ = option.map(<[_]>::to_vec);
|
|
| + +
|
|
|
|
error: aborting due to 1 previous error
|
|
|