Skip to content

Augment TyCtxt::err to be available via TyCxAt #72619

Closed
@mark-i-m

Description

@mark-i-m

#70551 (comment)

Also it might be cool to use the TyCxAt helper to have tcx.at(span).err() use the span for the delay_span_bug, since I assume many of the callers of tcx.err() have a span around.

cc @eddyb

Metadata

Metadata

Labels

C-cleanupCategory: PRs that clean code up or issues documenting cleanup.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