[mlir] Fix the error message for missing explicit TypeID
authorMogball <jeffniu22@gmail.com>
Wed, 18 May 2022 21:06:47 +0000 (21:06 +0000)
committerMogball <jeffniu22@gmail.com>
Wed, 18 May 2022 21:08:09 +0000 (21:08 +0000)
Summary:

The error message was incorrect

Reviewers: rriddle

Subscribers:

mlir/lib/Support/TypeID.cpp

index 8720706..e499e2f 100644 (file)
@@ -50,7 +50,7 @@ struct ImplicitTypeIDRegistry {
                    "explicit TypeID instantiation for this type using "
                    "`MLIR_DECLARE_EXPLICIT_TYPE_ID`/"
                    "`MLIR_DEFINE_EXPLICIT_TYPE_ID` or "
-                   "`DEFINE_EXPLICIT_PRIVATE_INLINE_TYPE_ID`.\n";
+                   "`MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID`.\n";
       }
       llvm::report_fatal_error(errorStr);
     }