about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2024-08-15 18:44:16 -0700
committerGitHub <noreply@github.com>2024-08-15 18:44:16 -0700
commit5858329f1adf44ba39815d2040a0cb1478d37bc8 (patch)
treef6b0aae76936f9775a67d2296473bc5b7904c81c /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parent4fd4da9e23492da01af5bd6e804eb8cec1ee1c76 (diff)
parentfc55129774c8209d46d89b8a27b13fb7d8ce2b44 (diff)
downloadrust-5858329f1adf44ba39815d2040a0cb1478d37bc8.tar.gz
rust-5858329f1adf44ba39815d2040a0cb1478d37bc8.zip
Rollup merge of #128965 - Zalathar:no-pat, r=Nadrieril
Remove `print::Pat` from the printing of `WitnessPat`

After the preliminary work done in #128536, we can now get rid of `print::Pat` entirely.

- First, we introduce a variant `PatKind::Print(String)`.
- Then we incrementally remove each other variant of `PatKind`, by having the relevant code produce `PatKind::Print` instead.
- Once `PatKind::Print` is the only remaining variant, it becomes easy to remove `print::Pat` and replace it with `String`.

There is more cleanup that I have in mind, but this seemed like a natural stopping point for one PR.

r? ```@Nadrieril```
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions