infer for a proc whether it is OK to pass an argument as borrowed

this only looks at calls to lowlevels right now, not calls to other functions
This commit is contained in:
Folkert 2024-03-13 20:12:51 +01:00
parent ae88295365
commit 51a4192659
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
3 changed files with 141 additions and 4 deletions

View file

@ -9,6 +9,7 @@
// Not a useful lint for us
#![allow(clippy::too_many_arguments)]
pub mod borrow;
pub mod code_gen_help;
pub mod drop_specialization;
pub mod inc_dec;