Skip to content
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

Unresolved references with syntax errors #6219

Closed
lnicola opened this issue Oct 13, 2020 · 3 comments
Closed

Unresolved references with syntax errors #6219

lnicola opened this issue Oct 13, 2020 · 3 comments
Labels
E-hard S-unactionable Issue requires feedback, design decisions or is blocked on other work

Comments

@lnicola
Copy link
Member

lnicola commented Oct 13, 2020

I might be wrong, but I feel we should be able to resolve open here:

image

(note the missing > in the return type).

We resolve File just fine.

@matklad matklad added the E-hard label Oct 14, 2020
@matklad
Copy link
Member

matklad commented Oct 14, 2020

What happens here is that the whole {} block gets treated as a const parameter: Result<(), 92>. So, the issue is that we don't really support bodies of const arguments..

@matklad matklad added the S-unactionable Issue requires feedback, design decisions or is blocked on other work label Oct 14, 2020
@ruabmbua
Copy link
Contributor

IDE can be hard ^^.

@Veykril
Copy link
Member

Veykril commented Oct 30, 2021

Closing in favor of #8655

@Veykril Veykril closed this as completed Oct 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-hard S-unactionable Issue requires feedback, design decisions or is blocked on other work
Projects
None yet
Development

No branches or pull requests

4 participants