Fix tidy error

This commit is contained in:
varkor 2018-01-19 21:00:35 +00:00
parent 768cbbcd9e
commit c4d0bb398b
2 changed files with 3 additions and 2 deletions

View file

@ -17,7 +17,8 @@ enum Helper<T, U> {
}
fn transmute<T, U>(t: T) -> U {
let Helper::U(u) = Helper::T(t, []); //~ ERROR refutable pattern in local binding: `T(_, _)` not covered
let Helper::U(u) = Helper::T(t, []);
//~^ ERROR refutable pattern in local binding: `T(_, _)` not covered
u
}