about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-10 08:59:51 +0000
committerbors <bors@rust-lang.org>2024-02-10 08:59:51 +0000
commitaa97edb21490ff543740c4e97c7df78642a782fa (patch)
treeeb2d8e9181fcb5ec0e5e55f9f2e77a7072869df8 /compiler/rustc_pattern_analysis/src
parent7e9265506df75c4be77cb0624ca9fbc9f69a0901 (diff)
parent18be556b37fa89bea50a40bd980c392346df838a (diff)
downloadrust-aa97edb21490ff543740c4e97c7df78642a782fa.tar.gz
rust-aa97edb21490ff543740c4e97c7df78642a782fa.zip
Auto merge of #16497 - evertedsphere:swann/fix-inline-for-macro-generated-method, r=Veykril
Fix incorrect inlining of functions that come from MBE macros

Partial fix for https://github.com/rust-lang/rust-analyzer/issues/16471.

As a reminder, there are two issues there:
1. missing whitespace in parameter types (the first test)
2. the `self` parameter not being replaced by `this` in the function body (the second test)

The first part is fixed in this PR. See [this comment](https://github.com/rust-lang/rust-analyzer/pull/16497#issuecomment-1934243409) for the second.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions