Skip to content

Commit de7d1c0

Browse files
committed
remove repetition from E0308 explanation
1 parent 1b28ffa commit de7d1c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/diagnostics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,7 @@ a compile-time constant.
10061006

10071007
E0308: r##"
10081008
This error occurs when the compiler was unable to infer the concrete type of a
1009-
variable. This error can occur for several cases, the most common of which is a
1009+
variable. It can occur for several cases, the most common of which is a
10101010
mismatch in the expected type that the compiler inferred for a variable's
10111011
initializing expression, and the actual type explicitly assigned to the
10121012
variable.

0 commit comments

Comments
 (0)