-
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
inline format!() args from rustc_middle up to and including rustc_codegen_llvm (3) #114074
Conversation
This PR changes Stable MIR cc @oli-obk, @celinval, @spastorino Some changes occurred in need_type_info.rs cc @lcnr |
☔ The latest upstream changes (presumably #114181) made this pull request unmergeable. Please resolve the merge conflicts. |
@@ -76,7 +76,7 @@ impl<'ll, 'tcx> AsmBuilderMethods<'tcx> for Builder<'_, 'll, 'tcx> { | |||
clobbered_x87 = true; | |||
clobbers.push("~{st}".to_string()); | |||
for i in 1..=7 { | |||
clobbers.push(format!("~{{st({})}}", i)); | |||
clobbers.push(format!("~{{st({i})}}")); |
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.
Can you revert all changes in this file? I think that's another case of {{
being confusing with inline formatting args
@@ -672,7 +672,7 @@ impl<'a> Linker for GccLinker<'a> { | |||
let mut f = BufWriter::new(File::create(&path)?); | |||
for sym in symbols { | |||
debug!(" _{}", sym); |
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.
debug!(" _{}", sym); | |
debug!(" _{sym}"); |
@@ -687,7 +687,7 @@ impl<'a> Linker for GccLinker<'a> { | |||
writeln!(f, "EXPORTS")?; | |||
for symbol in symbols { | |||
debug!(" _{}", symbol); |
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.
debug!(" _{}", symbol); | |
debug!(" _{symbol}"); |
@@ -702,7 +702,7 @@ impl<'a> Linker for GccLinker<'a> { | |||
writeln!(f, " global:")?; | |||
for sym in symbols { | |||
debug!(" {};", sym); |
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.
debug!(" {};", sym); | |
debug!(" {sym};"); |
@@ -978,7 +978,7 @@ impl<'a> Linker for MsvcLinker<'a> { | |||
writeln!(f, "EXPORTS")?; | |||
for symbol in symbols { | |||
debug!(" _{}", symbol); |
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.
debug!(" _{}", symbol); | |
debug!(" _{symbol}"); |
@@ -1627,11 +1627,11 @@ impl<'a> Linker for AixLinker<'a> { | |||
// FIXME: use llvm-nm to generate export list. | |||
for symbol in symbols { | |||
debug!(" _{}", symbol); |
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.
debug!(" _{}", symbol); | |
debug!(" _{symbol}"); |
compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs
Show resolved
Hide resolved
@rustbot author |
7360c41
to
a983d17
Compare
a983d17
to
3ce90b1
Compare
@rustbot ready |
@bors r+ |
…iaskrgr Rollup of 6 pull requests Successful merges: - rust-lang#98154 (merge functionality of `io::Sink` into `io::Empty`) - rust-lang#102198 (`const`-stablilize `NonNull::as_ref`) - rust-lang#114074 (inline format!() args from rustc_middle up to and including rustc_codegen_llvm (3)) - rust-lang#114246 (Weaken unnameable_types lint) - rust-lang#114256 (Fix invalid suggestion for mismatched types in closure arguments) - rust-lang#114258 (Simplify `Span::can_be_used_for_suggestions` a little tiny bit) r? `@ghost` `@rustbot` modify labels: rollup
r? @WaffleLapkin