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

Missing missing unsafe block error when calling unsafe function pointer #19048

Closed
Veykril opened this issue Jan 27, 2025 · 0 comments · Fixed by #19051
Closed

Missing missing unsafe block error when calling unsafe function pointer #19048

Veykril opened this issue Jan 27, 2025 · 0 comments · Fixed by #19051
Labels
A-diagnostics diagnostics / error reporting C-bug Category: bug

Comments

@Veykril
Copy link
Member

Veykril commented Jan 27, 2025

fn f(it: unsafe fn()){
    it();
}

cc @ChayimFriedman2 since you are touching that part right now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-diagnostics diagnostics / error reporting C-bug Category: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant