-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Remove ty_open. #22213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove ty_open. #22213
Conversation
@eddyb r+ modulo comments, this seems nice overall (and @nick29581 mentioned he was fine with it too). But I'd like to understand what's going on with that change to |
4893b3a
to
258fa79
Compare
@bors r=nikomatsakis 258fa79 |
⌛ Testing commit 258fa79 with merge 6d44972... |
💔 Test failed - auto-mac-64-nopt-t |
I was going to adjust the tests for the new errors, but it looks like that would be a regression. I'm tempted to use something like the current debug location to always provide some span to functions like A global "current Span" is too hacky for my taste but we mainly need that span for such _extra_ordinary overflow errors, and only to point to something better than "somewhere in this crate". |
@eddyb I personally think you can just adjust the tests. This is a pre-existing problem. I thought there was an issue for it, but I can't find it now. In any case, I think that in the end we should probably just thread a span down through |
(We might want to open an issue and attach a FIXME in |
It's actually not coming from |
a1f9fe6
to
85052b4
Compare
@bors r=nikomatsakis 85052b4 |
fd9b13b
to
724c207
Compare
@bors r=nikomatsakis 724c207 |
⌛ Testing commit 724c207 with merge e6fdf5b... |
💔 Test failed - auto-mac-64-nopt-t |
|
724c207
to
8659de0
Compare
@bors: p=10 |
Mostly everything else will come in the rollup. |
@bors: p=5 |
…tsakis This type wasn't necessary, as there was no place using it and unsized types not wrapped in it, at the same time. r? @nikomatsakis
This type wasn't necessary, as there was no place using it and unsized types not wrapped in it, at the same time.
r? @nikomatsakis