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
|
@ -1,5 +1,7 @@
|
|||
// check-pass
|
||||
|
||||
#![allow(drop_ref)]
|
||||
|
||||
fn main() {
|
||||
struct U;
|
||||
fn accept_fn_once(_: impl FnOnce()) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue