Remove proto_best_practices from Rust test files in OSS

PiperOrigin-RevId: 676434510
diff --git a/rust/test/BUILD b/rust/test/BUILD
index 84d189b..3d58de6 100644
--- a/rust/test/BUILD
+++ b/rust/test/BUILD
@@ -170,7 +170,8 @@
     name = "no_package_import_proto",
     testonly = True,
     srcs = ["no_package_import.proto"],
-    deps = ["//devtools/staticanalysis/pipeline/analyzers/proto_best_practices/proto:optouts_proto"],
+    deps = [
+    ],
 )
 
 proto_library(
@@ -183,7 +184,6 @@
     exports = [":no_package_import_proto"],
     deps = [
         ":no_package_import_proto",
-        "//devtools/staticanalysis/pipeline/analyzers/proto_best_practices/proto:optouts_proto",
     ],
 )
 
diff --git a/rust/test/no_package.proto b/rust/test/no_package.proto
index 26f30fe..4db4f3c 100644
--- a/rust/test/no_package.proto
+++ b/rust/test/no_package.proto
@@ -9,13 +9,6 @@
 
 import public "google/protobuf/rust/test/no_package_import.proto";
 
-import "devtools/staticanalysis/pipeline/analyzers/proto_best_practices/proto/optouts.proto";
-
-option (proto_best_practices.file_optouts) = {
-  // package intentionally left unspecified.
-  categories: GLOBAL_PACKAGE
-};
-
 message MsgWithoutPackage {}
 
 enum EnumWithoutPackage {
diff --git a/rust/test/no_package_import.proto b/rust/test/no_package_import.proto
index f0faba1..32ff2e9 100644
--- a/rust/test/no_package_import.proto
+++ b/rust/test/no_package_import.proto
@@ -7,13 +7,6 @@
 
 syntax = "proto2";
 
-import "devtools/staticanalysis/pipeline/analyzers/proto_best_practices/proto/optouts.proto";
-
-option (proto_best_practices.file_optouts) = {
-  // package intentionally left unspecified.
-  categories: GLOBAL_PACKAGE
-};
-
 message ImportedMsgWithoutPackage {}
 
 enum ImportedEnumWithoutPackage {
diff --git a/rust/test/no_package_other.proto b/rust/test/no_package_other.proto
index f66f573..16939b4 100644
--- a/rust/test/no_package_other.proto
+++ b/rust/test/no_package_other.proto
@@ -7,13 +7,6 @@
 
 syntax = "proto2";
 
-import "devtools/staticanalysis/pipeline/analyzers/proto_best_practices/proto/optouts.proto";
-
-option (proto_best_practices.file_optouts) = {
-  // package intentionally left unspecified.
-  categories: GLOBAL_PACKAGE
-};
-
 message OtherMsgWithoutPackage {}
 
 enum OtherEnumWithoutPackage {