about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-08-22 18:30:39 +0000
committerbors <bors@rust-lang.org>2020-08-22 18:30:39 +0000
commitdd07860b839a46782e3750a8924ecf380486c460 (patch)
tree52987b36f4943aea8864810644f18214aa49f8f5 /src/test/incremental/thinlto
parentf21d10b970c2ff7216dc1ae2e9b7c0e8610eed2a (diff)
parent191b6c798fa40334ec8898d07b4d28fd76743120 (diff)
downloadrust-dd07860b839a46782e3750a8924ecf380486c460.tar.gz
rust-dd07860b839a46782e3750a8924ecf380486c460.zip
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
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions