Skip to content

Commit

Permalink
type-check-type: Smol cleanup in format string
Browse files Browse the repository at this point in the history
  • Loading branch information
CohenArthur committed Sep 21, 2023
1 parent adc58a6 commit 2854b1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcc/rust/typecheck/rust-hir-type-check-type.cc
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ TypeCheckType::resolve_root_path (HIR::TypePath &path, size_t *offset,
if (is_root)
{
rust_error_at (seg->get_locus (),
"unknown reference for resolved name: %<%s%>",
"unknown reference for resolved name: %qs",
seg->get_ident_segment ().as_string ().c_str ());
return new TyTy::ErrorType (path.get_mappings ().get_hirid ());
}
Expand Down

0 comments on commit 2854b1b

Please sign in to comment.