From 314e840a77c0f7e0daff2b25f8845d6b93474f1d Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Sun, 15 Aug 2021 19:54:59 -0700 Subject: [PATCH] Fixed error message in Bazel aspect. Fixes: https://github.com/protocolbuffers/upb/issues/391 --- bazel/upb_proto_library.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazel/upb_proto_library.bzl b/bazel/upb_proto_library.bzl index cc02a9aa43..000045a01d 100644 --- a/bazel/upb_proto_library.bzl +++ b/bazel/upb_proto_library.bzl @@ -250,7 +250,7 @@ def _upb_proto_aspect_impl(target, ctx, generator, cc_provider, file_provider): dep_ccinfos += [dep[_UpbDefsWrappedCcInfo].cc_info for dep in deps if _UpbDefsWrappedCcInfo in dep] if generator == "upbdefs": if _UpbWrappedCcInfo not in target: - fail("Target should have _UpbDefsWrappedCcInfo provider") + fail("Target should have _UpbWrappedCcInfo provider") dep_ccinfos += [target[_UpbWrappedCcInfo].cc_info] cc_info = _cc_library_func( ctx = ctx,