rust/clippy_lints
bors dd07860b83 Auto merge of #5941 - ThibsG:InlineInCopyPassByRef, r=yaahc
Don't lint if it has always inline attribute

Don't trigger the lint `trivially_copy_pass_by_ref` if it has `#[inline(always)]` attribute.

Note: I am not particularly familiar with `inline` impacts, so I implemented this the way that if only `#[inline]` attribute is here (without `always`), the lint will still trigger. Also, it will still trigger if it has `#[inline(never)]`.
Just tell me if it sounds too much conservative.

Fixes: #5876

changelog: none
2020-08-22 18:30:39 +00:00
..
src Auto merge of #5941 - ThibsG:InlineInCopyPassByRef, r=yaahc 2020-08-22 18:30:39 +00:00
Cargo.toml deps: bump cargo_metadata and semver 2020-08-17 12:19:32 +02:00
README.md

This crate contains Clippy lints. For the main crate, check GitHub.