diff --git a/gcc/rust/expand/rust-derive.cc b/gcc/rust/expand/rust-derive.cc index 1fe81c2d13c2..a04d19a22695 100644 --- a/gcc/rust/expand/rust-derive.cc +++ b/gcc/rust/expand/rust-derive.cc @@ -58,7 +58,7 @@ DeriveVisitor::derive (Item &item, const Attribute &attr, case BuiltinMacro::PartialOrd: case BuiltinMacro::Hash: default: - rust_sorry_at (attr.get_locus (), "uninmplemented builtin derive macro"); + rust_sorry_at (attr.get_locus (), "unimplemented builtin derive macro"); return nullptr; }; }