summaryrefslogtreecommitdiff
path: root/rust/compiler_test.go
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2020-07-10 18:57:44 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2020-07-10 18:57:44 +0000
commitc76b0fd5f3676fce8c4417f6c1d40cb63eb0bee0 (patch)
tree7f21e811bf0226b6170857a755f82b1b1d4d5ad4 /rust/compiler_test.go
parentfd1e267e409556b77735f7c88802806243e7cad8 (diff)
parent9c3f56a3aa5dd0f92155a8d5e137e79318b76a0e (diff)
Merge "Specify module dependency in the srcs list" am: 21143a601c am: 9c3f56a3aa
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1356365 Change-Id: I5e4cbd9d86ee9f99d2bbc08fce40dd4b56d9dcbc
Diffstat (limited to 'rust/compiler_test.go')
-rw-r--r--rust/compiler_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/compiler_test.go b/rust/compiler_test.go
index bcde75795..58ca52a0c 100644
--- a/rust/compiler_test.go
+++ b/rust/compiler_test.go
@@ -43,7 +43,7 @@ func TestFeaturesToFlags(t *testing.T) {
// Test that we reject multiple source files.
func TestEnforceSingleSourceFile(t *testing.T) {
- singleSrcError := "srcs can only contain one path for rust modules"
+ singleSrcError := "srcs can only contain one path for a rust file"
// Test libraries
testRustError(t, singleSrcError, `