1
Fork 0

Add an attribute to be able to configure the limit

This commit is contained in:
Oli Scherer 2021-03-26 16:28:52 +00:00 committed by Felix S. Klock II
parent e9696c8b62
commit a2f2179026
11 changed files with 65 additions and 11 deletions

View file

@ -2906,7 +2906,7 @@ declare_lint! {
/// This lint will trigger on all sites of large moves and thus allow the
/// user to resolve them in code.
pub LARGE_ASSIGNMENTS,
Allow,
Warn,
"detects large moves or copies",
}