Skip to content

Improve span for "cannot provide explicit generic arguments when impl Trait is used in argument position" #65642

Closed
@varkor

Description

@varkor

The spans for this error should point to the generic arguments, not the entire path. See #65614 (comment).

This issue has been assigned to @ObsidianMinor via this comment.

Metadata

Metadata

Assignees

Labels

A-diagnosticsArea: Messages for errors, warnings, and lintsC-enhancementCategory: An issue proposing an enhancement or a PR with one.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions