We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da159eb commit d96b222Copy full SHA for d96b222
compiler/rustc_ty_utils/src/abi.rs
@@ -520,7 +520,8 @@ fn fn_abi_sanity_check<'tcx>(
520
assert!(
521
matches!(&*cx.tcx.sess.target.arch, "wasm32" | "wasm64")
522
|| matches!(spec_abi, SpecAbi::PtxKernel | SpecAbi::Unadjusted),
523
- r#"`PassMode::Direct` for aggregates only allowed for "unadjusted" and "ptx-kernel" functions and on wasm\nProblematic type: {:#?}"#,
+ "`PassMode::Direct` for aggregates only allowed for \"unadjusted\" and \"ptx-kernel\" functions and on wasm\n\
524
+ Problematic type: {:#?}",
525
arg.layout,
526
);
527
}
0 commit comments