]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_typeck/collect.rs
Add backticks to E0558
[rust.git] / src / librustc_typeck / collect.rs
index 3d66768c24a8b3fc15858cf473f9a070330a5102..c24e20c5699092189f939316583910f7006afb54 100644 (file)
@@ -1909,7 +1909,7 @@ fn codegen_fn_attrs<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>, id: DefId) -> Codegen
                 codegen_fn_attrs.export_name = Some(s);
             } else {
                 struct_span_err!(tcx.sess, attr.span, E0558,
-                                 "export_name attribute has invalid format")
+                                 "`export_name` attribute has invalid format")
                     .span_label(attr.span, "did you mean #[export_name=\"*\"]?")
                     .emit();
             }