Skip to content

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

Closed
@mark-i-m

Description

@mark-i-m
Member

#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

Activity

added
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.
on May 26, 2020
added a commit that references this issue on Aug 16, 2020

Auto merge of rust-lang#73176 - LeSeulArtichaut:tyctxtat-err, r=eddyb

9b4db69
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

    Participants

    @jonas-schievink@mark-i-m@LeSeulArtichaut

    Issue actions

      Augment `TyCtxt::err` to be available via `TyCxAt` · Issue #72619 · rust-lang/rust