1
Fork 0

When suggesting writing a fully qualified path probe for appropriate types

Fix #46585.
This commit is contained in:
Esteban Küber 2023-01-08 06:54:52 +00:00
parent b22c152958
commit 12ddf77811
18 changed files with 295 additions and 55 deletions

View file

@ -11,7 +11,7 @@ fn path_parametrized_type_is_allowed() -> option::Option<impl Debug> {
fn projection_is_disallowed(x: impl Iterator) -> <impl Iterator>::Item {
//~^ ERROR `impl Trait` is not allowed in path parameters
//~^^ ERROR ambiguous associated type
//~| ERROR `impl Trait` is not allowed in path parameters
x.next().unwrap()
}