about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2022-01-27 17:00:16 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2022-02-15 16:03:26 +1100
commit925ec0d3c77601ebfa32b148393a5192943c2ff1 (patch)
tree6d1bc9dafbf9329e5a6194e05cf6873db451a820 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parente9a0c429c5da5a34c0469117774fe32694a0281c (diff)
downloadrust-925ec0d3c77601ebfa32b148393a5192943c2ff1.tar.gz
rust-925ec0d3c77601ebfa32b148393a5192943c2ff1.zip
Overhaul `PredicateInner` and `Predicate`.
Specifically, change `Ty` from this:
```
pub struct Predicate<'tcx> { inner: &'tcx PredicateInner<'tcx> }
```
to this:
```
pub struct Predicate<'tcx>(&'tcx Interned<PredicateS<'tcx>>)
```
where `PredicateInner` is renamed as `PredicateS`.

 This (plus a few other minor changes) makes the parallels with `Ty` and
`TyS` much clearer, and makes the uniqueness more explicit.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions