about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2020-01-27 12:50:52 +0100
committerGitHub <noreply@github.com>2020-01-27 12:50:52 +0100
commit5f9284c95f8431cb9239e9efba956cfc9259aec9 (patch)
tree93e3dfd56efc4854b98209c42ab8b122cf4512f1 /src/test
parent9188bab4dbe6a644c2019de25c4c207f02e60a31 (diff)
parent9a78c2b11d50fc1ed60c92eec7cb59ae74516e89 (diff)
Rollup merge of #68562 - hjung4:spell, r=jonas-schievink
Fix spelling errors
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/issues/issue-67037-pat-tup-scrut-ty-diff-less-fields.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/issues/issue-67037-pat-tup-scrut-ty-diff-less-fields.rs b/src/test/ui/issues/issue-67037-pat-tup-scrut-ty-diff-less-fields.rs
index 44bd645598a..a3023ee906d 100644
--- a/src/test/ui/issues/issue-67037-pat-tup-scrut-ty-diff-less-fields.rs
+++ b/src/test/ui/issues/issue-67037-pat-tup-scrut-ty-diff-less-fields.rs
@@ -10,7 +10,7 @@
 // However, we did not account for the expected type being different than the tuple pattern type.
 // This caused an issue when the tuple pattern type (`P<T>`) was generic.
 // Specifically, we tried deriving the 0th field's type using the `substs` of the expected type.
-// When attempting to substitute `T`, there was no such substitution, so "out of range" occured.
+// When attempting to substitute `T`, there was no such substitution, so "out of range" occurred.
 
 struct U {} // 0 type parameters offered
 struct P<T>(T); // 1 type parameter wanted