Adjust tests for new drop and forget lints
This commit is contained in:
parent
3f81b6b8a2
commit
61ff2718f7
61 changed files with 145 additions and 64 deletions
|
@ -3,6 +3,8 @@
|
|||
// check-pass
|
||||
|
||||
#![allow(irrefutable_let_patterns)]
|
||||
#![allow(drop_copy)]
|
||||
#![allow(drop_ref)]
|
||||
|
||||
fn main() {
|
||||
// A regression test for a mistake we made at one point:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue