about summary refs log tree commit diff
path: root/src/test/ui/empty/empty-never-array.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-09-06 19:00:49 +0200
committerGitHub <noreply@github.com>2019-09-06 19:00:49 +0200
commitafb6a7002da240f77bd8f6ebb06f9c5d55c20dfb (patch)
treef33e6fb7e357ce0296871b7e623ad3a3d1201e1b /src/test/ui/empty/empty-never-array.rs
parent57e900e453ab271aa30371208aee9cf95f836ab6 (diff)
parent022d9c8eb56144c00980c88d4b68a5a1e487484a (diff)
downloadrust-afb6a7002da240f77bd8f6ebb06f9c5d55c20dfb.tar.gz
rust-afb6a7002da240f77bd8f6ebb06f9c5d55c20dfb.zip
Rollup merge of #64202 - alexreg:rush-pr-1, r=Centril
Fixed grammar/style in some error messages

Factored out from hacking on rustc for work on the REPL.

r? @Centril
Diffstat (limited to 'src/test/ui/empty/empty-never-array.rs')
-rw-r--r--src/test/ui/empty/empty-never-array.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/empty/empty-never-array.rs b/src/test/ui/empty/empty-never-array.rs
index ffd2545b291..f0ecea42f39 100644
--- a/src/test/ui/empty/empty-never-array.rs
+++ b/src/test/ui/empty/empty-never-array.rs
@@ -10,7 +10,7 @@ fn transmute<T, U>(t: T) -> U {
     let Helper::U(u) = Helper::T(t, []);
     //~^ ERROR refutable pattern in local binding: `T(_, _)` not covered
     u
-    //~^ ERROR use of possibly uninitialized variable: `u`
+    //~^ ERROR use of possibly-uninitialized variable: `u`
 }
 
 fn main() {