Never stop due to errors before borrow checking
This commit is contained in:
parent
c21fbfe7e3
commit
6e723c24a8
49 changed files with 409 additions and 108 deletions
|
@ -10,6 +10,9 @@ fn transmute<T, U>(t: T) -> U {
|
|||
let Helper::U(u) = Helper::T(t, []);
|
||||
//~^ ERROR refutable pattern in local binding: `T(_, _)` not covered
|
||||
u
|
||||
//~^ WARN use of possibly uninitialized variable: `u`
|
||||
//~| WARN this error has been downgraded to a warning for backwards compatibility
|
||||
//~| WARN this represents potential undefined behavior in your code and this warning will
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue