-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Crater Run: Make tyvar_behind_raw_pointer an error #47227
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Crater Run: Make tyvar_behind_raw_pointer an error #47227
Conversation
in preparation for a crater run to determine its impact
r? @estebank (rust_highfive has picked a reviewer for you, use r? to override) |
src/librustc/lint/builtin.rs
Outdated
@@ -242,7 +242,7 @@ declare_lint! { | |||
|
|||
declare_lint! { | |||
pub TYVAR_BEHIND_RAW_POINTER, | |||
Warn, | |||
Deny, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forbid
is better for testing existing lints, someone could allow
it already.
@petrochenkov good point, and some crates could do |
@bors try |
…r=<try> Make tyvar_behind_raw_pointer an error In preparation for a crater run to determine its impact
☀️ Test successful - status-travis |
@aidanhs @Mark-Simulacrum crater run wanted. |
Crater run started. |
http://cargobomb-reports.s3.amazonaws.com/pr-46934/index.html (yes, the pr-# is wrong, but this should be the right run -- if not, let me know, we'll restart and rerun it). |
60 regressions – is that good? It's better than I expected, anyway. And is it safe to say that all of the "fixed" crates and any test-fail regressions were spurious? @nikomatsakis what do the results tell you? |
60 seems like a lot to me =) but it all depends on the details. Let me dig in a bit. |
I got as far as
This merits some discussion and consideration, I think. Of course, the future compatibility warning may lead some people to migrate, but we may want to think about some special method resolution rules -- for example, giving inherent methods defined on |
Well, I think this PR has served its purpose, right? I'm going to close for now. (It's not meant to be merged, I don't think.) |
In preparation for a crater run to determine its impact