about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2021-10-13 21:37:53 +0100
committerGary Guo <gary@garyguo.net>2022-01-07 22:55:36 +0000
commit52db6b9d02a22eb1f54ea5f045d3744c98edd50f (patch)
tree849d32fd3b5345f7f30bbb9096f1be9958d37611 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent48258ffe5af8a8fc2926e9e0bb8dc857ad8bfed6 (diff)
downloadrust-52db6b9d02a22eb1f54ea5f045d3744c98edd50f.tar.gz
rust-52db6b9d02a22eb1f54ea5f045d3744c98edd50f.zip
InferBorrowKind cleanup
`adjust_upvar_deref` and friends are implemented so that they reuse
existing region so new region vars don't have to be generated.
Since now we don't have to generate region vars in `InferBorrowKind`,
creating a new capture info would be cheap and we can just use
`determine_capture_info`.

syn is updated so that let_else syntax can be used in fn with `#[instrument]` attribute.

`restrict_repr_packed_field_ref_capture` is changed to take place by value
since cloning is needed anyway.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions