diff options
| author | bors <bors@rust-lang.org> | 2021-10-07 03:42:05 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-10-07 03:42:05 +0000 |
| commit | d3e6770efbd76c4ad1e17468895b538a2efec4bd (patch) | |
| tree | 0db3025d27155b10571b04c4b6fc65004d1c5918 /compiler/rustc_resolve | |
| parent | 0eabf25b90396dead0b2a1aaa275af18a1ae6008 (diff) | |
| parent | bec5a91450d58a821c8a41a93dd2563fc7eb4606 (diff) | |
| download | rust-d3e6770efbd76c4ad1e17468895b538a2efec4bd.tar.gz rust-d3e6770efbd76c4ad1e17468895b538a2efec4bd.zip | |
Auto merge of #89454 - erikdesjardins:perfattrcheck, r=nikomatsakis
perf: only check for `rustc_trivial_field_reads` attribute on traits, not items, impls, etc. The checks that are removed in this PR (originally added in #85200) caused a small perf regression: https://github.com/rust-lang/rust/pull/88824#issuecomment-932664761 Since the attribute is currently only applied to traits, I don't think it's worth keeping the additional checks for now. If/when we decide to apply the attribute somewhere else, we can (partially) revert this and reevaluate the perf impact. r? `@nikomatsakis` cc `@FabianWolff`
Diffstat (limited to 'compiler/rustc_resolve')
0 files changed, 0 insertions, 0 deletions
