No public description
PiperOrigin-RevId: 718122349
diff --git a/.bazelrc b/.bazelrc
index a74f389..623dd94 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -20,8 +20,8 @@
# Use the C++17 standard.
build --cxxopt=-std=c++17
-# ...But disable warnings about C++20 extensions.
-build --cxxopt=-Wno-c++20-extensions
+# Report error on C++20 extensions.
+# build --cxxopt=-Werror-c++20-extensions
# Required by the cc_fuzztest_grammar_library rule, which uses the
# "exec configuration" (https://bazel.build/reference/be/general#cross-compilation-considerations).
# The --cxxopt flag does not apply to the exec configuration, only the