When suggesting writing a fully qualified path probe for appropriate types
Fix #46585.
This commit is contained in:
parent
b22c152958
commit
12ddf77811
18 changed files with 295 additions and 55 deletions
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue