Uh oh!
There was an error while loading. Please reload this page.
Add TyCtxtAt::{ty_error, ty_error_with_message} - #73176
Conversation
There was a problem hiding this comment.
| self.sess.delay_span_bug(self.span, msg); | |
| self.mk_ty(Error(super::sty::DelaySpanBugEmitted(()))) | |
| self.tcx.ty_error_with_message(self.span, msg) |
Perhaps I'm missing something?
There was a problem hiding this comment.
No I'm just dumb :P
There was a problem hiding this comment.
This change doesn't seem to have been made?
There was a problem hiding this comment.
This change still hasn't been made?
mark-i-m
commented
Jun 9, 2020
I'm personally ok with merging this into my PR, but I don't know whether @eddyb or the compiler team would want it separate. |
bors
commented
Jun 15, 2020
☔ The latest upstream changes (presumably #73369) made this pull request unmergeable. Please resolve the merge conflicts. |
mark-i-m
commented
Jun 19, 2020
This is unblocked now |
LeSeulArtichaut
commented
Jun 19, 2020
I’ll rebase as soon as I can. |
844ef78 to
31d79c8CompareLeSeulArtichaut
commented
Jun 19, 2020
Rebased. |
mark-i-m
commented
Jun 19, 2020
cc @varkor (who reviewed my PR too) |
bors
commented
Jun 22, 2020
☔ The latest upstream changes (presumably #73180) made this pull request unmergeable. Please resolve the merge conflicts. |
There was a problem hiding this comment.
I'm worried about DelaySpanBugEmitted being defined in ty::sty, maybe it should be defined in ty::context so that only ty::context can create it.
There was a problem hiding this comment.
I think the reason I put it where I did is that it needs to be in the type definition of TyKind...
There was a problem hiding this comment.
@mark-i-m that's where it needs to be used, but it's a public type, you can use it from anywhere.
31d79c8 to
a53f176Comparea53f176 to
30fa84eCompareLeSeulArtichaut
commented
Aug 4, 2020
@eddyb Just pushed to resolve the previous review. Sorry for being so slow! |
eddyb
commented
Aug 16, 2020
@bors r+ |
bors
commented
Aug 16, 2020
📌 Commit 30fa84e has been approved by |
bors
commented
Aug 16, 2020
bors
commented
Aug 16, 2020
☀️ Test successful - checks-actions, checks-azure |
Only e2d957d was added, the rest comes from #70551.I was unsure where to put the implementation for those methods, please tell me if there is a better place for it.
Closes#72619,
blocked on #70551.r? @eddyb cc @mark-i-m, maybe this should be part of #70551? If so feel free to cherry-pick or ask me to file a PR against your fork.