1
Fork 0

Adjust tests for new drop and forget lints

This commit is contained in:
Urgau 2023-03-29 22:18:20 +02:00
parent 3f81b6b8a2
commit 61ff2718f7
61 changed files with 145 additions and 64 deletions

View file

@ -1,5 +1,7 @@
// check-pass
#![allow(drop_ref)]
fn main() {
struct U;
fn accept_fn_once(_: impl FnOnce()) {}