-
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
Fix uninlined_format_args
in compiler crates with the diagnostic migration completed
#105890
Conversation
r? @jackh726 (rustbot has picked a reviewer for you, use r? to override) |
@@ -327,11 +327,11 @@ fn print_target_features(sess: &Session, tm: &llvm::TargetMachine) { | |||
|
|||
println!("Features supported by rustc for this target:"); | |||
for (feature, desc) in &rustc_target_features { | |||
println!(" {1:0$} - {2}.", max_feature_len, feature, desc); | |||
println!(" {feature:max_feature_len$} - {desc}."); |
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.
That's a fun one, you rarely see it. Looks correct though.
(OUTDATED)
|
There are some problems regarding refactorings with RA and inline args, which lead clippy to consider disabling the lint by default. |
d18bde5
to
518f876
Compare
uninlined_format_args
in rustc_(a|b|c)*
cratesuninlined_format_args
in compiler crates with the diagnostic migration completed
cc @davidtwco, @compiler-errors, @JohnTitor, @estebank, @TaKO8Ki These commits modify compiler targets. |
As a user for rust-analyzer, the problems aren't bad enough to not do this now in my opinion, but I could also understand it if we deem it bad enough and want to delay it. |
518f876
to
fff49f6
Compare
☔ The latest upstream changes (presumably #105880) made this pull request unmergeable. Please resolve the merge conflicts. |
I don't understand why the bot pinged me, I see no interpreter changes? |
I had some at first that I then removed. |
r=me after rebase @bors delegate+ |
✌️ @Nilstrieb can now approve this pull request |
Convert all the crates that have had their diagnostic migration completed (except save_analysis because that will be deleted soon and apfloat because of the licensing problem).
fff49f6
to
fd7a159
Compare
@bors r=jackh726 Btw, I have bors permissions already, no need to delegate :D |
☀️ Test successful - checks-actions |
Finished benchmarking commit (0853d96): comparison URL. Overall result: ✅ improvements - no action needed@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)This benchmark run did not return any relevant results for this metric. 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.
|
Convert all the crates that have had their diagnostic migration completed (except save_analysis because that will be deleted soon and apfloat because of the licensing problem).
Some of them have been reviewed by myself and they were all correct (though I still recommend going over all of them again for review).