From de7d1c08d3f017dcbdfa4b5cf32e10d05c1d5a5d Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Sat, 11 Jul 2015 20:21:10 +0200 Subject: [PATCH] remove repetition from E0308 explanation --- src/librustc/diagnostics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc/diagnostics.rs b/src/librustc/diagnostics.rs index 3dbc80d352d..68aba382f6b 100644 --- a/src/librustc/diagnostics.rs +++ b/src/librustc/diagnostics.rs @@ -1006,7 +1006,7 @@ a compile-time constant. E0308: r##" This error occurs when the compiler was unable to infer the concrete type of a -variable. This error can occur for several cases, the most common of which is a +variable. It can occur for several cases, the most common of which is a mismatch in the expected type that the compiler inferred for a variable's initializing expression, and the actual type explicitly assigned to the variable.