explaine.rs icon indicating copy to clipboard operation
explaine.rs copied to clipboard

Missing Hint for things within "Function Type"

Open vi opened this issue 6 years ago • 0 comments

Source code


 1 | fn lol(a: Box<for<'a> fn(x:&'a u32)->()>) {
   |                ↑
 2 | }

Location: line 1, column 15

What I got

"Function Type. The type of a free standing function." spanning the whole generic argument of the Box.

What I expected

"The type of a free standing function" can contain many tricky things inside it. I expect some individual tokens within that type to be selectable.

vi avatar Apr 09 '20 20:04 vi