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 ambiguity error for impl trait #19289

Open
Veykril opened this issue Mar 5, 2025 · 1 comment
Open

Missing ambiguity error for impl trait #19289

Veykril opened this issue Mar 5, 2025 · 1 comment
Assignees

Comments

@Veykril
Copy link
Member

Veykril commented Mar 5, 2025

          While we are here, this one can also be triggered with `impl` syntax

https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=d43383743ffef4b512c74809eb38bbca

fn f(_: &impl 'a + Sized) {}

Originally posted by @Veykril in #19265 (comment)

@Shourya742
Copy link
Contributor

@rustbot claim

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

No branches or pull requests

2 participants