mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-21 12:07:31 +00:00
![]() 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` |
||
---|---|---|
.. | ||
abi.rs | ||
assoc.rs | ||
common_traits.rs | ||
consts.rs | ||
errors.rs | ||
implied_bounds.rs | ||
instance.rs | ||
layout_sanity_check.rs | ||
layout.rs | ||
lib.rs | ||
needs_drop.rs | ||
representability.rs | ||
ty.rs |