Add an attribute to be able to configure the limit
This commit is contained in:
parent
e9696c8b62
commit
a2f2179026
11 changed files with 65 additions and 11 deletions
|
@ -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",
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue