diff options
| author | bors <bors@rust-lang.org> | 2020-08-22 18:30:39 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-08-22 18:30:39 +0000 |
| commit | dd07860b839a46782e3750a8924ecf380486c460 (patch) | |
| tree | 52987b36f4943aea8864810644f18214aa49f8f5 /src/test/incremental/thinlto | |
| parent | f21d10b970c2ff7216dc1ae2e9b7c0e8610eed2a (diff) | |
| parent | 191b6c798fa40334ec8898d07b4d28fd76743120 (diff) | |
| download | rust-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
