change note for patterns

This commit is contained in:
Cengiz Can 2017-04-18 21:42:55 +03:00
parent 8b45a21bd1
commit 3092ac40b6
4 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@ error[E0282]: type annotations needed
12 | let (x, ) = (vec![], );
| ----- ^^^^^^ cannot infer type for `T`
| |
| consider giving a type to pattern
| consider giving the pattern a type
|
= note: this error originates in a macro outside of the current crate