Skip to content

Missing Hint for things within "Function Type" #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
vi opened this issue Apr 9, 2020 · 0 comments
Open

Missing Hint for things within "Function Type" #5

vi opened this issue Apr 9, 2020 · 0 comments

Comments

@vi
Copy link

vi commented Apr 9, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants