diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2015-07-11 20:21:10 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2015-07-11 20:21:10 +0200 |
| commit | de7d1c08d3f017dcbdfa4b5cf32e10d05c1d5a5d (patch) | |
| tree | e738c302d5fb424f4e7fb306f8203421de4799e1 /src | |
| parent | 1b28ffa5216c845d1cef6b0cb3e5ac7db12025d0 (diff) | |
| download | rust-de7d1c08d3f017dcbdfa4b5cf32e10d05c1d5a5d.tar.gz rust-de7d1c08d3f017dcbdfa4b5cf32e10d05c1d5a5d.zip | |
remove repetition from E0308 explanation
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc/diagnostics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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. |
