Skip to content

Missing ambiguity error for impl trait  #19289

@Veykril

Description

@Veykril
          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)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions