-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Add IMPLIED_BOUNDS_ENTAILMENT
lint
#105575
Conversation
c730df1
to
b85a28f
Compare
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit b85a28fbbf85acf442b5c57c45ad1d563fd2e938 with merge 9490fcf9c4ecf3ed0b3ae1a007f2f8e5b26d5692... |
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (9490fcf9c4ecf3ed0b3ae1a007f2f8e5b26d5692): comparison URL. Overall result: ❌ regressions - ACTION NEEDEDBenchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @bors rollup=never Warning ⚠: The following benchmark(s) failed to build:
Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
|
…yn514 Fix unsoundness in bootstrap cache code Discovered via rust-lang#105575, which showed that rustc was failing to build during a perf run.
b85a28f
to
49176ab
Compare
@lcnr told me r=me on Zulip after updating the tracking issue (#105572) to be more descriptive. We also discussed this during the compiler team meeting (starting here) and decided the perf hit is acceptable, as this lint will be removed and turned into a hard error hopefully in a few versions. @bors r=lcnr |
📌 Commit 49176abdd7ff51b3433a072222895785758951b7 has been approved by It is now in the queue for this repository. |
⌛ Testing commit 49176abdd7ff51b3433a072222895785758951b7 with merge c09c28be814c4b2d4a851edbcfcec79ef3e90cb8... |
💔 Test failed - checks-actions |
49176ab
to
bf906d4
Compare
Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
@bors r=lcnr lol let's try this again |
☀️ Test successful - checks-actions |
Finished benchmarking commit (7f42e58): comparison URL. Overall result: ❌ regressions - ACTION NEEDEDNext Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
|
@rustbot label: +perf-regression-triaged This regression was anticipated and accepted by the compiler team and types team on the grounds that we'll get this perf back once the future incompat lint becomes a hard error. Also: this addresses a soundness issue |
I'm going to add relnotes here. It's not certain at what stage this lint will be (still warn or upgraded to deny) at release time, but given the size of breakages reported by crater, I think it would be good to point this out. |
@compiler-errors This doesn't seem to backport cleanly -- can you prepare a PR targeting the beta branch? |
…AILMENT, r=Mark-Simulacrum Backport `IMPLIED_BOUNDS_ENTAILMENT` lint r? `@Mark-Simulacrum` as requested rust-lang#105575 (comment)
…S_ENTAILMENT, r=lcnr Bump `IMPLIED_BOUNDS_ENTAILMENT` to Deny + ReportNow rust-lang#105575 (comment) > and then later in the same cycle increase the lint to `deny` and change it to `FutureCompatReportNow` in this nightly cycle. r? `@lcnr` when they're back from holiday 😄
…S_ENTAILMENT, r=lcnr Bump `IMPLIED_BOUNDS_ENTAILMENT` to Deny + ReportNow rust-lang#105575 (comment) > and then later in the same cycle increase the lint to `deny` and change it to `FutureCompatReportNow` in this nightly cycle. r? ``@lcnr`` when they're back from holiday 😄
…S_ENTAILMENT, r=lcnr Bump `IMPLIED_BOUNDS_ENTAILMENT` to Deny + ReportNow rust-lang#105575 (comment) > and then later in the same cycle increase the lint to `deny` and change it to `FutureCompatReportNow` in this nightly cycle. r? ```@lcnr``` when they're back from holiday 😄
Implements a lint (#105572) version of the hard-error introduced in #105483. Context is in that PR.
r? @lcnr
cc @oli-obk who had asked for this to be a lint first
Not sure if this needs to be an FCP, since it's a lint for now.