blob: d4987234a49e49546fa6310df18d7513d36e1a3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
  | 
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
  
  |