Skip to content

Commit

Permalink
Auto merge of rust-lang#116563 - matthiaskrgr:rollup-4ttoyns, r=matth…
Browse files Browse the repository at this point in the history
…iaskrgr

Rollup of 5 pull requests

Successful merges:

 - rust-lang#115882 (improve the suggestion of `generic_bound_failure`)
 - rust-lang#116537 (Fix suggestion span involving wrongly placed generic arg on variant)
 - rust-lang#116543 (In smir `find_crates` returns `Vec<Crate>` instead of `Option<Crate>`)
 - rust-lang#116548 (Improve handling of assertion failures with very long conditions)
 - rust-lang#116556 (Sync rustc_codegen_cranelift)

r? `@ghost`
`@rustbot` modify labels: rollup
  • Loading branch information
bors committed Oct 9, 2023
2 parents 7ed044c + 33b894c commit 95049a4
Show file tree
Hide file tree
Showing 139 changed files with 2,764 additions and 1,462 deletions.
2 changes: 1 addition & 1 deletion compiler/rustc_builtin_macros/src/assert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ pub fn expand_assert<'cx>(
DUMMY_SP,
Symbol::intern(&format!(
"assertion failed: {}",
pprust::expr_to_string(&cond_expr).escape_debug()
pprust::expr_to_string(&cond_expr)
)),
)],
);
Expand Down
Loading

0 comments on commit 95049a4

Please sign in to comment.