Make missing_fragment_specifier an unconditional error#128425
Make missing_fragment_specifier an unconditional error#128425bors merged 2 commits intorust-lang:masterfrom
missing_fragment_specifier an unconditional error#128425Conversation
This comment has been minimized.
This comment has been minimized.
392a2c7 to
c2492ec
Compare
|
This is just to test the diagnostics, none of the possible code cleanup is included. @petrochenkov please take a look when you get the chance and start crater if the change seems correct. @bors try |
…unconditional, r=<try> [crater] Make `missing_fragment_specifier` an unconditional error This was attempted in [1] then reverted in [2] because of fallout. Recently, this was made an edition-dependent error in [3]. Experiment with turning missing fragment specifiers an unconditional error again. More context: rust-lang#128006 [1]: rust-lang#75516 [2]: rust-lang#80210 [3]: rust-lang#128006
|
☀️ Try build successful - checks-actions |
|
@craterbot check |
|
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
|
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
|
🎉 Experiment
|
|
Like the previous run, almost all of these (361) come from We could let this simmer for a while with the new error in deps level (#128122) and/or the edition-dependent lint (#128006). I don't really know how to feel about these results because all of the relevant clap versions have been yanked for ~4 years, per clap-rs/clap#2076. Requesting compiler feedback for how to proceed. Context: this was made an e2024 error in #128006, making it an error in all editions is being considered here. @rustbot label +I-compiler-nominated |
|
Discussed briefly in the compiler team triage meeting. Given that nearly all regressions are on very old versions of |
|
Thanks for discussing this. I'll wait for the next beta branch so #128122 is on stable for at least a cycle, then continue pushing this forward. |
|
To reflect my above comment @rustbot blocked |
5f0c38d to
ed21403
Compare
This lint is `allow`ed in a few places where it doesn't seem to be needed. The `missing_fragment_specifier` lint will be going away in a future version of Rust and replaced with a hard error [1], so update this now to avoid a future `unknown_lints` warning. [1]: rust-lang/rust#128425
ed21403 to
5999782
Compare
|
Finally rebased this, I needed to do a few test updates. @rustbot ready |
|
There's a list of removed lints in |
5999782 to
1dc388b
Compare
|
Added to the removed lint list https://github.com/rust-lang/rust/compare/59997821a886ca515ff17af950dbf4498f8975bf..1dc388b13663eb64cca8cbe76ee97c00985e3d91 @bors r=petrochenkov,traviscross |
|
☔ The latest upstream changes (presumably #142392) made this pull request unmergeable. Please resolve the merge conflicts. |
This was attempted in [1] then reverted in [2] because of fallout. Recently, this was made an edition-dependent error in [3]. Make missing fragment specifiers an unconditional error again. [1]: rust-lang#75516 [2]: rust-lang#80210 [3]: rust-lang#128006
|
Resolved conflicts. @bors r=petrochenkov,traviscross |
|
@rust-timer build 21dbb46 (Testing #142443) |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (21dbb46): comparison URL. Overall result: ❌ regressions - no action neededBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. @bors rollup=never Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 1.8%, secondary 2.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 1.8%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (secondary -0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 755.964s -> 690.641s (-8.64%) |
This was attempted in 1 then reverted in 2 because of fallout. Recently, this was made an edition-dependent error in 3.
Make missing fragment specifiers an unconditional error again, across all editions.
More context: #128006
Most recent crater: #128425 (comment)
Fixes: #40107
r? @petrochenkov