Deny rust warnings by default.

* "-D warnings" means "deny all warnings" and make them errors.
* Modules with warnings should fix all warnings or use
        deny_warnings: false

Bug: 141699953
Test: mm in projects with Rust modules
Change-Id: I6310dee8e34b7780937e8fc1834016a04a943a2f
diff --git a/rust/config/global.go b/rust/config/global.go
index cec5a74..c66c3c1 100644
--- a/rust/config/global.go
+++ b/rust/config/global.go
@@ -17,6 +17,8 @@
 import (
 	"strings"
 
+	"github.com/google/blueprint/proptools"
+
 	"android/soong/android"
 	_ "android/soong/cc/config"
 )
@@ -33,6 +35,8 @@
 		"libtest",
 	}
 
+	DefaultDenyWarnings = proptools.BoolPtr(true)
+
 	deviceGlobalRustFlags = []string{}
 
 	deviceGlobalLinkFlags = []string{