summaryrefslogtreecommitdiff
path: root/absl/status/BUILD.bazel
diff options
context:
space:
mode:
authorGravatar Zie Weaver <zearen@google.com>2023-12-13 07:59:42 -0800
committerGravatar Copybara-Service <copybara-worker@google.com>2023-12-13 08:00:40 -0800
commit031d99ab8761084ea3499688dc82c27abd10314e (patch)
tree3747a7e1a5780ea9597392514b772879ae950261 /absl/status/BUILD.bazel
parentf16e457bce26a957c98f6e861de9a5c2092c8680 (diff)
Add `ostream<<` and `AbslStringify` to `absl::StatusOr`.
These methods will only be defined if they're defined for `T`. Additionally, we add jitter to the output to discourage people relying on the output format. PiperOrigin-RevId: 590598988 Change-Id: I4e7173b5f0c66fd3a1cdd3392944e20b8a26641f
Diffstat (limited to 'absl/status/BUILD.bazel')
-rw-r--r--absl/status/BUILD.bazel2
1 files changed, 2 insertions, 0 deletions
diff --git a/absl/status/BUILD.bazel b/absl/status/BUILD.bazel
index a5fad4d4..981b37fd 100644
--- a/absl/status/BUILD.bazel
+++ b/absl/status/BUILD.bazel
@@ -105,6 +105,8 @@ cc_library(
"//absl/base:raw_logging_internal",
"//absl/meta:type_traits",
"//absl/strings",
+ "//absl/strings:has_ostream_operator",
+ "//absl/strings:str_format",
"//absl/types:variant",
"//absl/utility",
],