diff options
| author | Jubilee <46493976+workingjubilee@users.noreply.github.com> | 2024-08-15 18:44:16 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-15 18:44:16 -0700 |
| commit | 5858329f1adf44ba39815d2040a0cb1478d37bc8 (patch) | |
| tree | f6b0aae76936f9775a67d2296473bc5b7904c81c /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 4fd4da9e23492da01af5bd6e804eb8cec1ee1c76 (diff) | |
| parent | fc55129774c8209d46d89b8a27b13fb7d8ce2b44 (diff) | |
| download | rust-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/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
