diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-07-25 23:17:39 +0200 |
|---|---|---|
| committer | Matthias Krüger <matthias.krueger@famsik.de> | 2023-07-25 23:20:28 +0200 |
| commit | c64ef5e070ee7ae7fb73de2bec06fb7498a9af83 (patch) | |
| tree | c07f2178069538d7ae7a7a1349ccf6627bdc840e /compiler/rustc_hir_analysis/src/check/intrinsicck.rs | |
| parent | 8327047b23dc1eb150fdfb42177939388661eb6d (diff) | |
| download | rust-c64ef5e070ee7ae7fb73de2bec06fb7498a9af83.tar.gz rust-c64ef5e070ee7ae7fb73de2bec06fb7498a9af83.zip | |
inline format!() args from rustc_codegen_llvm to the end (4)
r? @WaffleLapkin
Diffstat (limited to 'compiler/rustc_hir_analysis/src/check/intrinsicck.rs')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/check/intrinsicck.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/check/intrinsicck.rs b/compiler/rustc_hir_analysis/src/check/intrinsicck.rs index 8423a9550ba..b0dd5e5787d 100644 --- a/compiler/rustc_hir_analysis/src/check/intrinsicck.rs +++ b/compiler/rustc_hir_analysis/src/check/intrinsicck.rs @@ -211,7 +211,7 @@ impl<'a, 'tcx> InlineAsmCtxt<'a, 'tcx> { // register class is usable at all. if let Some(feature) = feature { if !target_features.contains(feature) { - let msg = format!("`{}` target feature is not enabled", feature); + let msg = format!("`{feature}` target feature is not enabled"); let mut err = self.tcx.sess.struct_span_err(expr.span, msg); err.note(format!( "this is required to use type `{}` with register class `{}`", |
