Fix tidy error
This commit is contained in:
parent
768cbbcd9e
commit
c4d0bb398b
2 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue