about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2022-10-29 14:18:03 +0200
committerGitHub <noreply@github.com>2022-10-29 14:18:03 +0200
commit2414a4c31a56a34ac6944e360b230ffe54a3a31b (patch)
treea7249602aa30f9677116ed63b9551ece77446e66 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent692a22e7355a44aef8e1d275803be0e497a5bc3a (diff)
parentc8c49710732a8cf9a71b7eed75d340e5f99383b8 (diff)
downloadrust-2414a4c31a56a34ac6944e360b230ffe54a3a31b.tar.gz
rust-2414a4c31a56a34ac6944e360b230ffe54a3a31b.zip
Rollup merge of #103625 - WaffleLapkin:no_tyctxt_dogs_allowed, r=compiler-errors
Accept `TyCtxt` instead of `TyCtxtAt` in `Ty::is_*` functions

Functions in answer:

- `Ty::is_freeze`
- `Ty::is_sized`
- `Ty::is_unpin`
- `Ty::is_copy_modulo_regions`

This allows to remove a lot of useless `.at(DUMMY_SP)`, making the code a bit nicer :3

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