rust-clippy/clippy_lints/src/utils
bors 6b5419412e Auto merge of #5081 - Areredify:vec_box_threshold, r=flip1995
add size parameter for `vec_box`  lint

changelog: add size threshold for the `vec_box` lint, currently 4096 bytes (one page) (subject to change). Closes #3547.

diff is a little bit confusing due to some refactoring (moving free functions to lint struct functions), relevant portion is [this](https://github.com/rust-lang/rust-clippy/compare/master...Areredify:vec_box_threshold?expand=1#diff-1096120ca9143af89dcc9175ea92b54aR294-R298). In hindsight should've been different commits, but oh well.
2020-01-25 16:11:43 +00:00
..
attrs.rs Rustup to rust-lang/rust#67707 2019-12-31 09:17:56 +09:00
author.rs Rustup to rust-lang/rust#68045 2020-01-13 21:55:57 +09:00
camel_case.rs new lints around #[must_use] fns 2019-10-14 12:09:04 +02:00
comparisons.rs Rustup to rust-lang/rust#67886 2020-01-07 01:46:33 +09:00
conf.rs add size parameter for lint 2020-01-25 18:06:52 +03:00
constants.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
diagnostics.rs Rustup to rust-lang/rust#68045 2020-01-13 21:55:57 +09:00
higher.rs Rustup to rust-lang/rust#68045 2020-01-13 21:55:57 +09:00
hir_utils.rs Rustup to rust-lang/rust#68045 2020-01-13 21:55:57 +09:00
inspector.rs Rustup to rust-lang/rust#68204 2020-01-18 14:39:18 +09:00
internal_lints.rs Rustup to rust-lang/rust#68204 2020-01-18 14:39:18 +09:00
mod.rs don't fire empty_loop in no_std crates 2020-01-24 14:42:24 +03:00
paths.rs add option_as_ref_deref lint 2020-01-23 16:12:16 +03:00
ptr.rs Rustup to rust-lang/rust#68045 2020-01-13 21:55:57 +09:00
sugg.rs Rustup to rust-lang/rust#68045 2020-01-13 21:55:57 +09:00
sym.rs Rustup to https://github.com/rust-lang/rust/pull/67853 2020-01-04 11:30:03 +01:00
usage.rs Extract visitor to utils 2020-01-13 16:50:11 +01:00